diff options
author | truckman <truckman@FreeBSD.org> | 1999-01-19 09:33:14 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 1999-01-19 09:33:14 +0000 |
commit | 9c8e89401a55d431103d52dea59d725baef76bbb (patch) | |
tree | 133df00b369c0fa4adc12d618821399bcf44320e /lib/libc/sys/fcntl.2 | |
parent | 5cb5bccf75037af591ea3230c29682e166a34fe9 (diff) | |
download | FreeBSD-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/libc/sys/fcntl.2')
-rw-r--r-- | lib/libc/sys/fcntl.2 | 7 |
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 |