mirror of https://github.com/mkerrisk/man-pages
unshare.2: Add some details to CLONE_NEWPID description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
37ee2d61e5
commit
2193656a7c
|
@ -155,6 +155,13 @@ flag.
|
||||||
Unshare the PID namespace,
|
Unshare the PID namespace,
|
||||||
so that the calling process has a new PID namespace for its children
|
so that the calling process has a new PID namespace for its children
|
||||||
which is not shared with any previously existing process.
|
which is not shared with any previously existing process.
|
||||||
|
The calling process is
|
||||||
|
.I not
|
||||||
|
moved into the new namespace.
|
||||||
|
The first child created by the calling process will have
|
||||||
|
the process ID 1 and will assume the role of
|
||||||
|
.BR init (1)
|
||||||
|
in the new namespace.
|
||||||
Use of
|
Use of
|
||||||
.BR CLONE_NEWPID
|
.BR CLONE_NEWPID
|
||||||
requires the
|
requires the
|
||||||
|
|
Loading…
Reference in New Issue