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:
Michael Kerrisk 2021-08-16 01:57:52 +02:00
parent 525a8b5461
commit 6486faa956
1 changed files with 2 additions and 2 deletions

View File

@ -518,7 +518,7 @@ files.
The lines written to The lines written to
.IR uid_map .IR uid_map
.RI ( gid_map ) .RI ( gid_map )
must conform to the following rules: must conform to the following validity rules:
.IP * 3 .IP * 3
The three fields must be valid numbers, The three fields must be valid numbers,
and the last field must be greater than 0. 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 In order for a process to write to the
.I /proc/[pid]/uid_map .I /proc/[pid]/uid_map
.RI ( /proc/[pid]/gid_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 .IP 1. 3
The writing process must have the The writing process must have the
.BR CAP_SETUID .BR CAP_SETUID