1
0
mirror of https://github.com/systemd/systemd.git synced 2025-09-16 17:45:36 +03:00

doc: mention that setfsuid() is a reason why UIDs >= 2147483648 are icky

This commit is contained in:
Lennart Poettering
2022-03-18 11:49:05 +01:00
parent af5ee76c56
commit 09d4d60360

View File

@@ -283,11 +283,12 @@ pre-defined purposes between Linux, generic low-level distributions and
ranges. ranges.
Note that the range 2147483648…4294967294 (i.e. 2^31…2^32-2) should be handled Note that the range 2147483648…4294967294 (i.e. 2^31…2^32-2) should be handled
with care. Various programs (including kernel file systems, see `devpts`) have with care. Various programs (including kernel file systems see `devpts` — or
trouble with UIDs outside of the signed 32bit range, i.e any UIDs equal to or even kernel syscalls see `setfsuid()`) have trouble with UIDs outside of the
above 2147483648. It is thus strongly recommended to stay away from this range signed 32bit range, i.e any UIDs equal to or above 2147483648. It is thus
in order to avoid complications. This range should be considered reserved for strongly recommended to stay away from this range in order to avoid
future, special purposes. complications. This range should be considered reserved for future, special
purposes.
## Notes on resolvability of user and group names ## Notes on resolvability of user and group names