chiark / gitweb /
nss-elogind: tweak checks when we consult PID 1 for dynamic UID/GID lookups
authorLennart Poettering <lennart@poettering.net>
Sat, 2 Dec 2017 12:07:18 +0000 (13:07 +0100)
committerSven Eden <yamakuzure@gmx.net>
Sat, 2 Dec 2017 12:07:18 +0000 (13:07 +0100)
commita4a32b7b726008bf96347d17be080d0406d7fe6e
tree9e765816f81e73e897c496b3cd3334d7364f5dae
parent9fe3995e8e2f9f4159c693663b9cc08dc37ff3f1
nss-elogind: tweak checks when we consult PID 1 for dynamic UID/GID lookups

Instead of contacting PID 1 for dynamic UID/GID lookups for all
UIDs/GIDs that do not qualify as "system" do the more precise check
instead: check if they actually qualify for the "dynamic" range.
src/basic/user-util.h