Summary: | man page for mq_open fails to specify all conditions that may cause an [EINVAL] error | ||
---|---|---|---|
Product: | Documentation | Reporter: | Ronald F. Guilmette <rfg-freebsd> |
Component: | Manual Pages | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Open --- | ||
Severity: | Affects Some People | CC: | doc, felix.the.red, grahamperrin, unitrunker |
Priority: | --- | Keywords: | needs-qa |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Ronald F. Guilmette
2020-01-09 10:04:54 UTC
I created a Phabricator review for this: https://reviews.freebsd.org/D32517 This documents the error case and the sysctls for mqueue. I'm not sure if this system call page is the right place to document sysctls. I disagree. As a general matter, all possible causes of syscall failures should be documented on the relevant man page (for the syscall). As a follow up, here is another failure scenario for mq_open: the kernel module is not loaded. Recent versions of FreeBSD made this a loadable module instead of baked into the kernel image. The mq_open man page should reflect this. I think the error code is ENOSYS or 78 - Function not implemented. ^Triage: while this PR refers to a Phabricator patch, it does not actually have a patch in and of itself. |