git: 9front

Download patch

ref: 1248fcd9396721c42bae52969be530cf1a1b2c4c
parent: 87f3c0b30914add7adcbc4797caf46602f918d06
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;
--