user.eclass: Allocate next free UID or GID from 999 downwards.
authorUlrich Müller <ulm@gentoo.org>
Sat, 27 Jul 2019 08:37:53 +0000 (10:37 +0200)
committerUlrich Müller <ulm@gentoo.org>
Mon, 29 Jul 2019 09:21:48 +0000 (11:21 +0200)
commit970abc63ba7144c45208acf3f727d8a559caaa43
tree6b63ae108bcb544832dc05a034fdd1ee3677e7f5
parent39563645c6f483a0eae9343602a92d18f51c4fa7
user.eclass: Allocate next free UID or GID from 999 downwards.

Fixed UIDs and GIDs are mostly located in the low range, therefore
going downwards from 999 to 101 will minimise collisions between fixed
and dynamically allocated IDs.

Note that on Linux and other targets using "groupadd -r" from
sys-apps/shadow, GIDs are already allocated that way implicitly.

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
eclass/user.eclass