proc.5: Clarify mapping provided by uid_map and gid_map

Add a sentence to emphasize that these files provide a mapping
based on the user namespace of the file opener.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-12-28 02:30:22 +01:00
parent ec1dd85da2
commit 23be33af33
1 changed files with 6 additions and 0 deletions

View File

@ -1891,6 +1891,12 @@ of the process
.IR pid
to the user namespace of the process that opened
.IR uid_map .
(In other words, processes that are in different user namespaces
will potentially see different values when reading from a particular
.I uid_map
file, depending on the user ID mappings for the user namespaces
of the reading processes.)
Each line in the file specifies a 1-to-1 mapping of a range of contiguous
user IDs from the user namespace of the process