code: plan9front

Download patch

ref: e614e819e39c179945fc52cb1df0505c464620cf
parent: 51669adf2446385b38bab4efcb4133c19e9be806
author: Jacob Moody <moody@posixcafe.org>
date: Thu May 12 13:50:08 EDT 2022

fork(2): Document RFNOMNT edge cases.

--- a/sys/man/2/fork
+++ b/sys/man/2/fork
@@ -69,10 +69,17 @@
 .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;