[Bug 239504] ioctl(2) man page doesn't mention that it can fail with EACCES

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 01 Jan 2026 18:06:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239504

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:

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

commit bd6289c06471871dd83285ab9b50c49bc5f74652
Author:     Felix Johnson <fjohnson@felix-johnson.com>
AuthorDate: 2025-12-29 19:21:26 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-01-01 18:05:06 +0000

    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

    (cherry picked from commit e2afbc45258f2fa4bdcf126e959ac660e76fc802)

 lib/libsys/ioctl.2 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.