summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: