Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Apr 2026 22:49:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 243209] man page for mq_open fails to specify all conditions that may cause an [EINVAL] error
Message-ID:  <bug-243209-227-gCJwTez7dy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243209-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243209

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3e9f4fd6fc50300d052d5619d82a14d3488483d5

commit 3e9f4fd6fc50300d052d5619d82a14d3488483d5
Author:     Kit Dallege <xaum.io@gmail.com>
AuthorDate: 2026-04-02 17:37:49 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2026-04-02 22:48:52 +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

 lib/libsys/mq_open.2 | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243209-227-gCJwTez7dy>