]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: use pid_is_valid() where appropriate 6975/head
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Tue, 3 Oct 2017 11:26:02 +0000 (12:26 +0100)
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>
Wed, 4 Oct 2017 14:40:20 +0000 (15:40 +0100)
commit6f876815c6e8a06f07e27b7658e04d6d595d9584
treeeaf35ba859e1aeb5e12556fa015e540ad7849641
parent72b3f82e1771e1070853a084a6108082c59ab0cb
logind: use pid_is_valid() where appropriate

These two sites _do_ match the definition of pid_is_valid(); they don't
provide any special handling for the invalid PID value 0.  (They're used
by dbus methods, so the PID value 0 is handled with reference to the dbus
client creds, outside of these functions).
src/login/logind-core.c