From b083c75f46a06d37393214ab94c7f5d6e698a0c4 Mon Sep 17 00:00:00 2001 From: Bill Allombert Date: Thu, 22 Jan 2015 19:56:12 +0100 Subject: [PATCH] Policy: [9.2.2] document 32-bit uids Wording: Matthew Vernon Seconded: Russ Allbery Seconded: Bill Allombert Seconded: Julien Cristau Closes: #765499 --- debian/changelog | 6 ++++++ policy.sgml | 29 +++++++++++++++++++++++++++++ upgrading-checklist.sgml | 4 ++++ 3 files changed, 39 insertions(+) diff --git a/debian/changelog b/debian/changelog index e5235a6..cb9a7c0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,12 @@ debian-policy (3.9.7.0) unstable; urgency=low Seconded: Jakub Wilk Seconded: Henrique de Moraes Holschuh Closes: #555979 + * Policy: [9.2.2] document 32-bit UIDs ranges. + Wording: Matthew Vernon + Seconded: Russ Allbery + Seconded: Bill Allombert + Seconded: Julien Cristau + Closes: #765499 -- Bill Allombert Sat, 31 Jan 2015 21:01:58 +0100 diff --git a/policy.sgml b/policy.sgml index 24cf7d7..947a1e1 100644 --- a/policy.sgml +++ b/policy.sgml @@ -7349,6 +7349,35 @@ rmdir /usr/local/share/emacs 2>/dev/null || true 65535: + +

+ This value must not be used, because it was + the error return sentinel value when uid_t + was 16 bits. +

+
+ + 65536-4294967293: + +

+ Dynamically allocated user accounts. By + default adduser will not allocate UIDs + and GIDs in this range, to ease compatibility with + legacy systems where uid_t is still 16 + bits. +

+
+ + 4294967294: + +

+ (uid_t)(-2) == (gid_t)(-2) must not be + used, because it is used as the anonymous, unauthenticated + user by some NFS implementations. +

+
+ + 4294967295:

(uid_t)(-1) == (gid_t)(-1) must diff --git a/upgrading-checklist.sgml b/upgrading-checklist.sgml index 16b7664..32293cd 100644 --- a/upgrading-checklist.sgml +++ b/upgrading-checklist.sgml @@ -42,6 +42,10 @@ Released xxx, 2015.

10.5 Symbolic links must not traverse above the root directory. + +9.2.2 + 32bit UIDs in the range 65536-4294967293 are reserved for dynamically + allocated user accounts.

Version 3.9.6.0 -- 2.39.2