From b3bc5386d6fba0b9d7daf2e4a8e6fb3ee52ca081 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 24 Oct 2010 16:32:50 +0200 Subject: [PATCH] unshare.2: Document CLONE_NEWNET Reported-by: Lucian Adrian Grijincu Signed-off-by: Michael Kerrisk --- man2/unshare.2 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/man2/unshare.2 b/man2/unshare.2 index 2819cb0c0..db2e3536e 100644 --- a/man2/unshare.2 +++ b/man2/unshare.2 @@ -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,