Article View: muc.lists.freebsd.doc
Article #58[Bug 243209] man page for mq_open fails to specify all conditions that may cause an [EINVAL] error
From: bugzilla-noreply
Date: Fri, 13 Nov 2026 18:42
Date: Fri, 13 Nov 2026 18:42
42 lines
3459 bytes
3459 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243209
--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=c9e6bc37a9cae3f1e37f20ce023bc79d27a00527
commit c9e6bc37a9cae3f1e37f20ce023bc79d27a00527
Author: Kit Dallege <xaum.io@gmail.com>
AuthorDate: 2026-04-02 17:37:49 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2026-11-13 18:41:02 +0000
mq_open(2): document sysctl limit EINVAL and ENFILE conditions
Document two missing error conditions for mq_open(2):
- EINVAL: returned when mq_maxmsg exceeds kern.mqueue.maxmsg or
mq_msgsize exceeds kern.mqueue.maxmsgsize.
- ENFILE: add kern.mqueue.maxmq sysctl name to the existing entry.
PR: 243209
Reviewed by: mhorne
MFC after: 1 week
Signed-off-by: Kit Dallege <xaum.io@gmail.com>
Pull Request: https://github.com/freebsd/freebsd-src/pull/2098
(cherry picked from commit 3e9f4fd6fc50300d052d5619d82a14d3488483d5)
lib/libc/sys/mq_open.2 | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<bug-243209-9-p5gDlJi9NJ@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<bug-243209-9@https.bugs.freebsd.org/bugzilla/>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail From: bugzilla-noreply@freebsd.org Newsgroups: muc.lists.freebsd.doc Subject: [Bug 243209] man page for mq_open fails to specify all conditions that may cause an [EINVAL] error Date: Fri, 13 Nov 2026 18:42:01 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-243209-9-p5gDlJi9NJ@https.bugs.freebsd.org/bugzilla/> References: <bug-243209-9@https.bugs.freebsd.org/bugzilla/> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="73868"; mail-complaints-to="news-admin@muc.de" X-Original-To: doc@mlmmj.nyi.freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794595322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=W6B6favRQSmdg1KAC57zvYaApGFdA5ZiqjIy81BaDn8=; b=eaVNfNmFs9DQlb+oj57azgYMS2fCnsIGGVgwyEWjlv5V+ee67uHhYdK/oI9x/ECX/usFyz vVtpah8z0VajH2ya6aRsG55rpxElrr4neYp0YFy4FZ5BCm1jVbvpPoyelhEePSRTNR/ibC 7HUzQdRSnRuSTkD5MZFbCBda/VzHjAPCc+VW8A/RKK23epkmNnlyy7/Cj7EDMAGe/0YkSr apiX7Qsy/qMOwp4XRhRas12ZXMa6ke2xQq8aBQqTpltCMZTXh9mmTr+AtYZXHo9TKwwjMp 1mSm13Oel+t/qnJeN7xkG9LY2p2NZaulCMhpjf02DB//+aMBKCBgT3lSLN6HLw== X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f In-Reply-To: <bug-243209-9@https.bugs.freebsd.org/bugzilla/> Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes