user_namespaces.7: Say a little less about execve(2) and user ID mappings

The existing discussion under user and group ID mappings
probably suffices.

Reported-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-06-02 15:18:38 +02:00
parent 0ea90cb46d
commit 6c21c0f947
1 changed files with 1 additions and 6 deletions

View File

@ -132,12 +132,7 @@ Note that a call to
.BR execve (2)
will cause a process to lose any capabilities that it has,
unless it has a user ID of 0 within the namespace.
Thus, before calling
.BR execve (2),
a user ID mapping for ID 0 must be defined,
and the caller may also need to use
.BR setuid (2)
or similar to set its user ID to 0.
See the discussion of user and group ID mappings, below.
A call to
.BR clone (2),