[LTP] [PATCH 4/7] syscalls/kill05: Use any two unprivileged users

Cyril Hrubis chrubis@suse.cz
Mon Sep 6 15:05:52 CEST 2021


Hi!
> But setting a non-existent UID/GID on a running process is different
> because the kernel might try to look up some additional data in the
> user/group database and block the credentials change if the lookup fails.

No it will not, kernel does not care and never cared about system users
and groups, that's purely userspace concept. The login(1) process that
sets up all the process IDS as well as shell variables.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list