proc.5: Clarify details of nonoverlapping ranges for /proc/PID/{uid_map,gid_map}

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-12-28 03:44:47 +01:00
parent 3d33f6ceb7
commit 98ea417334
1 changed files with 5 additions and 3 deletions

View File

@ -1938,11 +1938,13 @@ Lines are terminated by newline characters.
There is an (arbitrary) limit on the number of lines in the file.
As at Linux 3.8, that the limit is five lines.
.IP *
The values in both field 1 and field 2 of each line must be
in ascending numerical order.
.IP *
The range of user IDs specified in each line cannot overlap with the ranges
in any other lines.
In the current implementation (Linux 3.8), this requirement is
satisfied by a simplistic implementation that imposes the further
requirement that
the values in both field 1 and field 2 of successive lines must be
in ascending numerical order.
.RE
.IP
Writes that violate the above rules fail with the error