Skip to content

Commit 09d4d60

Browse files
committed
doc: mention that setfsuid() is a reason why UIDs >= 2147483648 are icky
1 parent af5ee76 commit 09d4d60

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/UIDS-GIDS.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,11 +283,12 @@ pre-defined purposes between Linux, generic low-level distributions and
283283
ranges.
284284

285285
Note that the range 2147483648…4294967294 (i.e. 2^31…2^32-2) should be handled
286-
with care. Various programs (including kernel file systems, see `devpts`) have
287-
trouble with UIDs outside of the signed 32bit range, i.e any UIDs equal to or
288-
above 2147483648. It is thus strongly recommended to stay away from this range
289-
in order to avoid complications. This range should be considered reserved for
290-
future, special purposes.
286+
with care. Various programs (including kernel file systems — see `devpts` — or
287+
even kernel syscalls – see `setfsuid()`) have trouble with UIDs outside of the
288+
signed 32bit range, i.e any UIDs equal to or above 2147483648. It is thus
289+
strongly recommended to stay away from this range in order to avoid
290+
complications. This range should be considered reserved for future, special
291+
purposes.
291292

292293
## Notes on resolvability of user and group names
293294

0 commit comments

Comments
 (0)