aboutsummaryrefslogtreecommitdiffstats
path: root/man2/clone.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-03-22 08:14:22 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-09-13 20:16:02 -0700
commitd34e564554f95adb3c34047378b2ef9571010aec (patch)
treeecb3dabe6a553bf44b9735068f222d8bd7b48c44 /man2/clone.2
parent333446b9a6e1ad6219d21bfc58bfae9bf41ace94 (diff)
downloadman-pages-d34e564554f95adb3c34047378b2ef9571010aec.tar.gz
clone.2: Note restrictions on CLONE_NEWUSER with other CLONE_* flags
Refer to user_namespaces(7) for restrictions on CLONE_NEWUSER with other CLONE_* flags. Also: document EINVAL error for CLONE_NEWUSER|CLONE_FS. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/clone.2')
-rw-r--r--man2/clone.218
1 files changed, 15 insertions, 3 deletions
diff --git a/man2/clone.2 b/man2/clone.2
index e99b69b1e1..ceea50281f 100644
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -446,9 +446,12 @@ no privileges are needed to create a user namespace.
.BR CLONE_NEWUSER
cannot be specified in conjunction with
-.BR CLONE_NEWPID
-or
-.BR CLONE_PARENT .
+various other
+.BR CLONE_*
+flags.
+For further details, see
+.BR user_namespaces (7),
+and ERRORS below.
.TP
.BR CLONE_NEWUTS " (since Linux 2.6.19)"
If
@@ -887,6 +890,7 @@ was not.
.\" (Since Linux 2.6.0-test6.)
.TP
.B EINVAL
+.\" commit e66eded8309ebf679d3d3c1f5820d1f2ca332c71
Both
.B CLONE_FS
and
@@ -894,6 +898,14 @@ and
were specified in
.IR flags .
.TP
+.BR EINVAL " (since Linux 3.9)"
+Both
+.B CLONE_NEWUSER
+and
+.B CLONE_FS
+were specified in
+.IR flags .
+.TP
.B EINVAL
Both
.B CLONE_NEWIPC