🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #451

[Bug 243209] man page for mq_open fails to specify all conditions that may cause an [EINVAL] error

#451
From: bugzilla-noreply
Date: Fri, 13 Nov 2026 18:42
42 lines
3466 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 the assignee 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-227-2QToPY8r8q@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-mail
References: <bug-243209-227@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.bugs
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-227-2QToPY8r8q@https.bugs.freebsd.org/bugzilla/>
References: <bug-243209-227@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="73941"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1794595321;
	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=+od86tgFRDp+6kI6xfv2JVC0UjzVZc2XTmAF1IHkK6k=;
	b=hC3cOgNEQJpL4S5y36gbvyu7jWkPSIFEwG8fc/B9yXxHUId4cpTY9dhLNljtYEj+d3FDXq
	qY89dn+4A4Fg1dcmy1A/a9N/QIzmJp2dKH9d9tthCbP+Kmsvkh5rD28rtuFLEBLZ5PCY8d
	WPTZTs3vh/pv84y2zopWNOy1VUt2RG80VbXj0Qe4lssNFXFO1y2L1b/VgTnar+9zcmkFdz
	o8M2rpMMnKmOT22GHvHP3878r2tWjJylPL1lAqCQTGOEOcorbXBBr/cBTA3NJXKErUOhUm
	LbE8DvzfoDzHJW0WkzN1J3LG/QlAYP0EA1idukNvkylJhCR0rrDf4H/Sh2yvaA==
X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-243209-227@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes