Re: [gentoo-dev] [PATCH 0/9] eclass: Use UID 0 instead of root and other fixes

2022-03-27 Thread Mike Gilbert
On Sun, Mar 27, 2022 at 3:27 AM Ulrich Müller wrote: > > This series of patches addresses eclasses using the "root" user name > to check for superuser privileges. Using UID or GID 0 will work in > more situations (e.g. when the superuser isn't named root). The series looks ok to me.

[gentoo-dev] [PATCH 0/9] eclass: Use UID 0 instead of root and other fixes

2022-03-27 Thread Ulrich Müller
This series of patches addresses eclasses using the "root" user name to check for superuser privileges. Using UID or GID 0 will work in more situations (e.g. when the superuser isn't named root). Additionally, change string comparison to arithmetic comparision for testing EUID. Introduce an