diff options
| author | Felix Johnson <fjohnson@felix-johnson.com> | 2025-12-29 14:21:26 -0500 |
|---|---|---|
| committer | Alexander Ziaee <ziaee@FreeBSD.org> | 2025-12-29 14:25:23 -0500 |
| commit | e2afbc45258f2fa4bdcf126e959ac660e76fc802 (patch) | |
| tree | 847bcc79ae9f7c4155cc91358567d05c6e5a14dc /lib | |
| parent | c6bd2aa8353c6c34dbff487132a7f7372752d0ad (diff) | |
ioctl.2: Mention EACCES
ioctls can fail with EACCES, see sys/kern/tty.c
PR: 239504
MFC after: 3 days
Reviewed by: ziaee
Reported by: Brennan Vincent <brennan@umanwizard.com>
Differential Revision: https://reviews.freebsd.org/D49072
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libsys/ioctl.2 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libsys/ioctl.2 b/lib/libsys/ioctl.2 index e96c5c48d097..5784f43ef98b 100644 --- a/lib/libsys/ioctl.2 +++ b/lib/libsys/ioctl.2 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd September 11, 2013 +.Dd December 29, 2025 .Dt IOCTL 2 .Os .Sh NAME @@ -110,6 +110,9 @@ The system call will fail if: .Bl -tag -width Er +.It Bq Er EACCES +The process does not have permission to call this +.Nm . .It Bq Er EBADF The .Fa fd |
