From: Michael Kerrisk Date: Sun, 15 Aug 2021 23:57:52 +0000 (+0200) Subject: user_namespaces.7: Minor wording improvement X-Git-Tag: man-pages-5.13~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6486faa95642d6e443efef01eaacc68664aeca47;p=thirdparty%2Fman-pages.git 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 --- diff --git a/man7/user_namespaces.7 b/man7/user_namespaces.7 index 6af6c787ad..3bba32cb56 100644 --- a/man7/user_namespaces.7 +++ b/man7/user_namespaces.7 @@ -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