Bug 239504 - ioctl(2) man page doesn't mention that it can fail with EACCES
Summary: ioctl(2) man page doesn't mention that it can fail with EACCES
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-28 21:04 UTC by Brennan Vincent
Modified: 2019-07-28 21:04 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brennan Vincent 2019-07-28 21:04:03 UTC
`ioctl` can fail with EACCES; for example:

https://github.com/freebsd/freebsd/blob/master/sys/kern/tty.c#L1874

But `man 2 ioctl` only lists EBADF, ENOTTY, EINVAL, and EFAULT.