summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-08-01 22:57:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-08-01 22:57:54 +0000
commit82222e6790f4ae1131090bffa11d4e8062eb517b (patch)
treef54ddab972fdb41a6716ad11e32d48c5db456db7 /lib
parentb563b0a3ba1afdf377e94c032e5e28ad46926622 (diff)
note about file table sharing and execve
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/rfork.26
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/rfork.2 b/lib/libc/sys/rfork.2
index a52b3038aae..b90274e562c 100644
--- a/lib/libc/sys/rfork.2
+++ b/lib/libc/sys/rfork.2
@@ -84,8 +84,12 @@ will sleep, if necessary, until required process resources are available.
.Fn Fork
can be implemented as a call to
.Xr rfork 2
-"RFFDG|RFPROC"
+using "RFFDG|RFPROC"
but isn't for backwards compatibility.
+If a process has file descriptor table sharing active, setuid or setgid
+programs will not
+.Xr execve 2
+with extra priviledges.
.Sh ERRORS
.Fn Rfork
will fail and no child process will be created if: