Date: Thu, 01 Jan 2026 19:08:57 +0000 From: Alexander Ziaee <ziaee@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Felix Johnson <fjohnson@felix-johnson.com> Subject: git: 7fa86256aaca - stable/14 - ioctl.2: Mention EACCES Message-ID: <6956c649.3b8dc.4fb39093@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=7fa86256aaca948671c38f462e9ef4692799d8fc commit 7fa86256aaca948671c38f462e9ef4692799d8fc 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 19:04:30 +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/libc/sys/ioctl.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2 index d5b09cf67eba..27c290019779 100644 --- a/lib/libc/sys/ioctl.2 +++ b/lib/libc/sys/ioctl.2 @@ -27,7 +27,7 @@ .\" .\" @(#)ioctl.2 8.2 (Berkeley) 12/11/93 .\" -.Dd September 11, 2013 +.Dd December 29, 2025 .Dt IOCTL 2 .Os .Sh NAME @@ -112,6 +112,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 fdhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6956c649.3b8dc.4fb39093>
