mirror of https://github.com/mkerrisk/man-pages
unshare.2: Document CLONE_NEWPID
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c2cd5a7fd9
commit
8f141c5e3c
|
@ -147,6 +147,20 @@ requires the
|
|||
.BR CAP_SYS_ADMIN
|
||||
capability.
|
||||
.TP
|
||||
.BR CLONE_NEWPID " (since Linux 3.8)"
|
||||
This flag has the same effect as the
|
||||
.BR clone (2)
|
||||
.B CLONE_NEWPID
|
||||
flag.
|
||||
Unshare the PID namespace,
|
||||
so that the calling process is moved into a new PID namespace
|
||||
which is not shared with any previously existing process.
|
||||
Use of
|
||||
.BR CLONE_NEWPID
|
||||
requires the
|
||||
.BR CAP_SYS_ADMIN
|
||||
capability.
|
||||
.TP
|
||||
.BR CLONE_NEWUSER " (since Linux 3.8)"
|
||||
This flag has the same effect as the
|
||||
.BR clone (2)
|
||||
|
|
Loading…
Reference in New Issue