mirror of https://github.com/mkerrisk/man-pages
capabilities.7, user_namespaces.7: Minor tweaks (part 2) to Kir Kolyshkin's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c83edb030c
commit
bd62f2240b
|
@ -352,10 +352,10 @@ Set arbitrary capabilities on a file.
|
||||||
.IP
|
.IP
|
||||||
.\" commit db2e718a47984b9d71ed890eb2ea36ecf150de18
|
.\" commit db2e718a47984b9d71ed890eb2ea36ecf150de18
|
||||||
Since Linux 5.12, this capability is
|
Since Linux 5.12, this capability is
|
||||||
also needed to map uid 0 (as in
|
also needed to map UID 0 (as in
|
||||||
.IR "unshare -Ur" ,
|
.IR "unshare \-Ur" ;
|
||||||
see
|
see
|
||||||
.BR unshare (1).
|
.BR unshare (1)).
|
||||||
.TP
|
.TP
|
||||||
.B CAP_SETPCAP
|
.B CAP_SETPCAP
|
||||||
If file capabilities are supported (i.e., since Linux 2.6.24):
|
If file capabilities are supported (i.e., since Linux 2.6.24):
|
||||||
|
|
|
@ -578,8 +578,8 @@ The mapped user IDs (group IDs) must in turn have a mapping
|
||||||
in the parent user namespace.
|
in the parent user namespace.
|
||||||
.IP 4.
|
.IP 4.
|
||||||
.\" commit db2e718a47984b9d71ed890eb2ea36ecf150de18
|
.\" commit db2e718a47984b9d71ed890eb2ea36ecf150de18
|
||||||
If a writing process is root (i.e. UID 0) trying to map host user ID 0,
|
If a writing process is root (i.e., UID 0) trying to map host user ID 0,
|
||||||
it must have
|
it must have the
|
||||||
.B CAP_SETFCAP
|
.B CAP_SETFCAP
|
||||||
capability (since Linux 5.12).
|
capability (since Linux 5.12).
|
||||||
.IP 5.
|
.IP 5.
|
||||||
|
|
Loading…
Reference in New Issue