mirror of https://github.com/mkerrisk/man-pages
pid_namespaces.7: Mention /proc/[pid]/ns/pid_for_children
Mention /proc/[pid]/ns/pid_for_children in discussion of setns()/unshare(). Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7cae1f4a76
commit
df984681fb
|
@ -221,6 +221,10 @@ with the
|
|||
.BR CLONE_NEWPID
|
||||
flag cause children subsequently created
|
||||
by the caller to be placed in a different PID namespace from the caller.
|
||||
(Since Linux 4.12, that PID namespace is shown via the
|
||||
.IR /proc/[pid]/ns/pid_for_children
|
||||
file, as described in
|
||||
.BR namespaces (7).)
|
||||
These calls do not, however,
|
||||
change the PID namespace of the calling process,
|
||||
because doing so would change the caller's idea of its own PID
|
||||
|
|
Loading…
Reference in New Issue