chiark / gitweb /
logind: use pid_is_valid() where appropriate
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Tue, 3 Oct 2017 11:26:02 +0000 (12:26 +0100)
committerSven Eden <yamakuzure@gmx.net>
Fri, 8 Dec 2017 06:27:39 +0000 (07:27 +0100)
commite7e739a60e74d067559bab758ba130ca2ebbace7
treea226499f88afb98492512016b7d0af12d52d31ee
parent5b65a773c10cdab7e9f36312dd4f7cabea3d9bf5
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