mirror of https://github.com/mkerrisk/man-pages
user_namespaces.7: Minor wording improvement
Mainly in preparation for the following patch on project IDs maps. Add some words that will make the parallels between the rules for updating uid_map and projid_map clearer. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
525a8b5461
commit
6486faa956
|
@ -518,7 +518,7 @@ files.
|
|||
The lines written to
|
||||
.IR uid_map
|
||||
.RI ( gid_map )
|
||||
must conform to the following rules:
|
||||
must conform to the following validity rules:
|
||||
.IP * 3
|
||||
The three fields must be valid numbers,
|
||||
and the last field must be greater than 0.
|
||||
|
@ -561,7 +561,7 @@ Writes that violate the above rules fail with the error
|
|||
In order for a process to write to the
|
||||
.I /proc/[pid]/uid_map
|
||||
.RI ( /proc/[pid]/gid_map )
|
||||
file, all of the following requirements must be met:
|
||||
file, all of the following permission requirements must be met:
|
||||
.IP 1. 3
|
||||
The writing process must have the
|
||||
.BR CAP_SETUID
|
||||
|
|
Loading…
Reference in New Issue