unshare.2: Document CLONE_NEWPID

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-01-01 12:06:09 +01:00
parent c2cd5a7fd9
commit 8f141c5e3c
1 changed files with 14 additions and 0 deletions

View File

@ -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)