diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2013-09-24 16:27:20 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2013-09-24 17:00:33 +0200 |
commit | a6dbecc4e2a1b52daef5ba3b8e5ecf322352ffdb (patch) | |
tree | 3bcf8d161cadfd6875cddff3c8a5c28cd1bd309f /src/shared/cgroup-util.h | |
parent | ee9c9500ab13c1093fc3feaf2aa5a0d330d0bfad (diff) |
logind: return -EINVAL when PID is wrong
dbus-send --print-reply --system --dest=org.freedesktop.login1
/org/freedesktop/login1 org.freedesktop.login1.Manager.GetUserByPID
uint32:0
causes
systemd-logind[29843]: Assertion 'pid >= 1' failed at
src/login/logind.c:938, function manager_get_user_by_pid(). Aborting.
Diffstat (limited to 'src/shared/cgroup-util.h')
0 files changed, 0 insertions, 0 deletions