mirror of https://github.com/mkerrisk/man-pages
user_namespaces.7: tfix
Reported-by: Stéphane Aulery <saulery@free.fr> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
157890398b
commit
374215d5c6
|
@ -439,12 +439,12 @@ maps to a range starting at 0 in the (nonexistent) parent namespace,
|
|||
and the length of the range is the largest 32-bit unsigned integer.
|
||||
(This deliberately leaves 4294967295 (the 32-bit signed \-1 value) unmapped.
|
||||
This is deliberate:
|
||||
.IR "(uid_t)\ -\1"
|
||||
.IR "(uid_t)\ \-1"
|
||||
is used in several interfaces (e.g.,
|
||||
.BR setreuid (2))
|
||||
as a way to specify "no user ID".
|
||||
Leaving
|
||||
.IR "(uid_t)\ -\1"
|
||||
.IR "(uid_t)\ \-1"
|
||||
unmapped and unusable guarantees that there will be no
|
||||
confusion when using these interfaces.
|
||||
.\"
|
||||
|
|
Loading…
Reference in New Issue