From e614e819e39c179945fc52cb1df0505c464620cf Mon Sep 17 00:00:00 2001 From: Jacob Moody Date: Thu, 12 May 2022 17:50:08 +0000 Subject: [PATCH] fork(2): Document RFNOMNT edge cases. --- sys/man/2/fork | 13 ++++++++++--- 1 file 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;