summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>1999-01-19 09:33:14 +0000
committertruckman <truckman@FreeBSD.org>1999-01-19 09:33:14 +0000
commit9c8e89401a55d431103d52dea59d725baef76bbb (patch)
tree133df00b369c0fa4adc12d618821399bcf44320e /lib
parent5cb5bccf75037af591ea3230c29682e166a34fe9 (diff)
downloadFreeBSD-src-9c8e89401a55d431103d52dea59d725baef76bbb.zip
FreeBSD-src-9c8e89401a55d431103d52dea59d725baef76bbb.tar.gz
Document the errno return if the restrictions on the fcntl(F_SETOWN, ...)
argument implemented by the security patch in PR kern/7899 are violated. PR: kern/7899
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/fcntl.27
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index fdf1941..51f0ef5 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -483,6 +483,13 @@ or
.Dv F_SETLKW ,
and satisfying the lock or unlock request would result in the
number of locked regions in the system exceeding a system-imposed limit.
+.It Bq Er EPERM
+.Fa Cmd
+is
+.Dv F_SETOWN
+and
+the process ID or process group given as an argument is in a
+different session than the caller.
.It Bq Er ESRCH
.Fa Cmd
is
OpenPOWER on IntegriCloud