]> git.ipfire.org Git - thirdparty/shadow.git/commit
subordinateio: also compare the owner ID
authorIker Pedrosa <ipedrosa@redhat.com>
Wed, 13 Jul 2022 07:55:14 +0000 (09:55 +0200)
committerSerge Hallyn <serge@hallyn.com>
Wed, 20 Jul 2022 14:29:31 +0000 (09:29 -0500)
commit3ec32f9975f262073f8fbdecd2bfaee4a1d3db48
tree255efecdd6b3d2bb1482c2d6c3e165166027dd8a
parent62d99ee3fceb53ef7d53a2f0618e0d76f31563a2
subordinateio: also compare the owner ID

IDs already populate /etc/subuid and /etc/subgid files so it's necessary
not only to check for the owner name but also for the owner ID of a
given range.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2093311

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
lib/subordinateio.c