]> git.ipfire.org Git - thirdparty/systemd.git/commit
pidref: we never have to verify PID 1
authorLennart Poettering <lennart@poettering.net>
Mon, 16 Oct 2023 21:11:58 +0000 (23:11 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 18 Oct 2023 12:39:33 +0000 (14:39 +0200)
commit3d7ba61a7bfcc8273dbf354008970343e408ff81
tree9e1dc1c3e5bd4a77bd05010cb6d6ce79c1274c0e
parentf2a2e60be649949ee5a747328c362829fc6e5e13
pidref: we never have to verify PID 1

The process exists as long as the kernel/userns exists at all, hence we
don't have to verify a pidfd to it.
src/basic/pidref.c