diff options
Diffstat (limited to 'man2/clone.2')
| -rw-r--r-- | man2/clone.2 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/man2/clone.2 b/man2/clone.2 index cdae8ecf02..3fa947e382 100644 --- a/man2/clone.2 +++ b/man2/clone.2 @@ -255,9 +255,9 @@ This flag can't be specified in conjunction with .BR CLONE_SYSVSEM . .TP .BR CLONE_NEWNS " (since Linux 2.4.19)" -Start the child in a new namespace. +Start the child in a new mount-point namespace. -Every process lives in a namespace. +Every process lives in a mount-point namespace. The .I namespace of a process is the data (the set of mounts) describing the file hierarchy @@ -268,20 +268,21 @@ or .BR clone () where the .B CLONE_NEWNS -flag is not set, the child lives in the same namespace as the parent. +flag is not set, the child lives in the same mount-point +namespace as the parent. The system calls .BR mount (2) and .BR umount (2) -change the namespace of the calling process, and hence affect +change the mount-point namespace of the calling process, and hence affect all processes that live in the same namespace, but do not affect -processes in a different namespace. +processes in a different mount-point namespace. After a .BR clone () where the .B CLONE_NEWNS -flag is set, the cloned child is started in a new namespace, +flag is set, the cloned child is started in a new mount-point namespace, initialized with a copy of the namespace of the parent. Only a privileged process (one having the \fBCAP_SYS_ADMIN\fP capability) |
