unshare.2: Note restrictions on CLONE_NEWUSER with other CLONE_* flags

Refer to user_namespaces(7) for restrictions on CLONE_NEWUSER
with other CLONE_* flags.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-03-22 08:14:13 +01:00
parent 714e9a7874
commit 333446b9a6
1 changed files with 7 additions and 0 deletions

View File

@ -187,6 +187,13 @@ flag, the caller obtains a full set of capabilities in the new namespace.
requires that the calling process is not threaded and the user ID and group ID
of the calling process are mapped user IDs and group IDs in the
user namespace of the calling process at the time of the call.
.IP
.BR CLONE_NEWUSER
cannot be specified in conjunction with various other
.BR CLONE_*
flags.
For further details, see
.BR user_namespaces (7).
.TP
.BR CLONE_NEWUTS " (since Linux 2.6.19)"
This flag has the same effect as the