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

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Apr 2026 22:49:38 UTC
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 on the CC list for the bug.