summaryrefslogtreecommitdiff
path: root/sys/man/2
diff options
context:
space:
mode:
authorJacob Moody <moody@posixcafe.org>2022-05-12 17:50:08 +0000
committerJacob Moody <moody@posixcafe.org>2022-05-12 17:50:08 +0000
commite614e819e39c179945fc52cb1df0505c464620cf (patch)
treeefacf066df70aa5fb9066289dee4a8cb796d5f48 /sys/man/2
parent51669adf2446385b38bab4efcb4133c19e9be806 (diff)
fork(2): Document RFNOMNT edge cases.
Diffstat (limited to 'sys/man/2')
-rw-r--r--sys/man/2/fork13
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/man/2/fork b/sys/man/2/fork
index 9272f1a87..3b2c656c5 100644
--- a/sys/man/2/fork
+++ b/sys/man/2/fork
@@ -69,10 +69,17 @@ Is mutually exclusive with
.BR RFNAMEG .
.TP
.B RFNOMNT
-If set, subsequent mounts into the new name space and dereferencing
-of pathnames starting with
+If set, subsequent mounts into the new name space are disallowed.
+All pathnames starting with
.B #
-are disallowed.
+besides those used to access
+.IR pipe(3) ,
+.IR dup(3) ,
+.IR env(3) ,
+.IR cons(3) ,
+and
+.IR proc(3)
+can not be walked.
.TP
.B RFENVG
If set, the environment variables are copied;