commit:     3be3c9a736212a5895201ae3d74ee6c9a32bfd88
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 22 07:57:41 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Oct 22 10:53:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3be3c9a7

metadata/qa-policy.conf: Add user-group-ids section

See also user and group account policy:
https://projects.gentoo.org/qa/policy-guide/user-group.html#pg0901

Bug: https://github.com/pkgcore/pkgcheck/issues/356
Suggested-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 metadata/qa-policy.conf | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/metadata/qa-policy.conf b/metadata/qa-policy.conf
index db9050f2ba7b..191ebdb4f7e8 100644
--- a/metadata/qa-policy.conf
+++ b/metadata/qa-policy.conf
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # The policy section assigns significance levels to various policies.
@@ -74,3 +74,13 @@ ltprune = (inline find ... -delete)
 mono = mono-env
 user = (GLEP 81 acct-* packages)
 versionator = eapi7-ver (built-in since EAPI 7)
+
+# User and group IDs available for static allocation. These consist of:
+# - the range 101..749 available for regular use by packages, and
+# - the range 0..100, 65533 and 65534 reserved for important system
+#   accounts (which need approval by QA).
+# The format is a comma separated list, either <n> for a single value
+# or <m>-<n> for a range of values (including both ends).
+[user-group-ids]
+uid-range = 0-749,65534
+gid-range = 0-749,65533,65534

Reply via email to