mirror of https://github.com/mkerrisk/man-pages
unshare.2: Document CLONE_NEWNET
Reported-by: Lucian Adrian Grijincu <lucian.grijincu@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
da2e0e532f
commit
b3bc5386d6
|
@ -89,6 +89,19 @@ requires the
|
|||
.BR CAP_SYS_ADMIN
|
||||
capability.
|
||||
.TP
|
||||
.BR CLONE_NEWNET " (since Linux 2.6.24)
|
||||
This flag has the same effect as the
|
||||
.BR clone (2)
|
||||
.B CLONE_NEWNET
|
||||
flag.
|
||||
Unshare the network namespace,
|
||||
so that the calling process has a private copy of the
|
||||
network namespace which is not shared with any other process.
|
||||
.BR CLONE_NEWNET
|
||||
requires the
|
||||
.BR CAP_SYS_ADMIN
|
||||
capability.
|
||||
.TP
|
||||
.B CLONE_NEWNS
|
||||
.\" These flag name are inconsistent:
|
||||
.\" CLONE_NEWNS does the same thing in clone(), but CLONE_VM,
|
||||
|
|
Loading…
Reference in New Issue