]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
Policy: [9.2.2] document 32-bit uids
authorBill Allombert <Bill.Allombert@math.u-bordeaux1.fr>
Thu, 22 Jan 2015 18:56:12 +0000 (19:56 +0100)
committerBill Allombert <Bill.Allombert@math.u-bordeaux1.fr>
Wed, 4 Feb 2015 19:34:33 +0000 (20:34 +0100)
Wording: Matthew Vernon <matthew@debian.org>
Seconded: Russ Allbery <rra@debian.org>
Seconded: Bill Allombert <ballombe@debian.org>
Seconded: Julien Cristau <jcristau@debian.org>
Closes: #765499
debian/changelog
policy.sgml
upgrading-checklist.sgml

index e5235a6ea94548b81d870c48d9d334a0b10696b3..cb9a7c0c56098eaab2e32e354451fb56f9fe6b04 100644 (file)
@@ -7,6 +7,12 @@ debian-policy (3.9.7.0) unstable; urgency=low
     Seconded: Jakub Wilk <jwilk@debian.org>
     Seconded: Henrique de Moraes Holschuh <hmh@debian.org>
     Closes: #555979
+  * Policy: [9.2.2] document 32-bit UIDs ranges.
+    Wording: Matthew Vernon <matthew@debian.org>
+    Seconded: Russ Allbery <rra@debian.org>
+    Seconded: Bill Allombert <ballombe@debian.org>
+    Seconded: Julien Cristau <jcristau@debian.org>
+    Closes: #765499
 
  -- Bill Allombert <ballombe@debian.org>  Sat, 31 Jan 2015 21:01:58 +0100
 
index 24cf7d7b7bae208bf0a9c1dca3b6ecace1e40c6f..947a1e1561e4d80d3435c00103d8cbee8e05d1b2 100644 (file)
@@ -7349,6 +7349,35 @@ rmdir /usr/local/share/emacs 2>/dev/null || true
              </item>
 
              <tag>65535:</tag>
+             <item>
+               <p>
+                 This value <em>must not</em> be used, because it was
+                 the error return sentinel value when <tt>uid_t</tt>
+                 was 16 bits.
+               </p>
+             </item>
+
+             <tag>65536-4294967293:</tag>
+             <item>
+               <p>
+                 Dynamically allocated user accounts.  By
+                 default <prgn>adduser</prgn> will not allocate UIDs
+                 and GIDs in this range, to ease compatibility with
+                 legacy systems where <tt>uid_t</tt> is still 16
+                 bits.
+               </p>
+             </item>
+
+             <tag>4294967294:</tag>
+             <item>
+               <p>
+                  <tt>(uid_t)(-2) == (gid_t)(-2)</tt> <em>must not</em> be
+                  used, because it is used as the anonymous, unauthenticated
+                  user by some NFS implementations.
+               </p>
+             </item>
+
+             <tag>4294967295:</tag>
              <item>
                <p>
                  <tt>(uid_t)(-1) == (gid_t)(-1)</tt> <em>must
index 16b766446c39b88ff276b45871375a0d9aaca7f6..32293cd679f1fc060df1d602712ade5eca571c06 100644 (file)
@@ -42,6 +42,10 @@ Released xxx, 2015.
 </p><p><taglist>
 <tag>10.5</tag>
   <item> Symbolic links must not traverse above the root directory.
+  </item>
+<tag>9.2.2</tag>
+  <item> 32bit UIDs in the range 65536-4294967293 are reserved for dynamically
+  allocated user accounts.
   </item> </taglist></p>
 
 <sect id="3.9.6.0"> Version 3.9.6.0