clone.2: When n/w namespace is freed, physical devices return to initial namespace

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Serge E. Hallyn 2008-11-25 09:46:46 -05:00 committed by Michael Kerrisk
parent e1b11906a0
commit bf032425f1
1 changed files with 6 additions and 1 deletions

View File

@ -42,7 +42,7 @@
.\" FIXME . 2.6.25 marks the unused CLONE_STOPPED as obsolete, and it will
.\" probably be removed in the future.
.\"
.TH CLONE 2 2008-11-20 "Linux" "Linux Programmer's Manual"
.TH CLONE 2 2008-11-25 "Linux" "Linux Programmer's Manual"
.SH NAME
clone, __clone2 \- create a child process
.SH SYNOPSIS
@ -314,6 +314,11 @@ that can be used to create tunnels between network namespaces,
and can be used to create a bridge to a physical network device
in another namespace.
When a network namespace is freed
(i.e., when the last process in the namespace terminates),
its physical network devices are moved back to the
initial network namespace (not to the parent of the process).
Use of this flag requires: a kernel configured with the
.B CONFIG_NET_NS
option and that the process be privileged