Systemd/src/libsystemd
Lennart Poettering cfeaa44a09 sd-bus: properly handle creds that are known but undefined for a process
A number of fields do not apply to all processes, including: there a
processes without a controlling tty, without parent process, without
service, user services or session. To distuingish these cases from the
case where we simply don't have the data, always return ENXIO for them,
while returning ENODATA for the case where we really lack the
information.

Also update the credentials dumping code to show this properly. Fields
that are known but do not apply are now shown as "n/a".

Note that this also changes some of the calls in process-util.c and
cgroup-util.c to return ENXIO for these cases.
2015-04-29 21:45:58 +02:00
..
sd-bus sd-bus: properly handle creds that are known but undefined for a process 2015-04-29 21:45:58 +02:00
sd-daemon sd-daemon: simplify sd_pid_notify_with_fds 2015-03-13 23:42:17 -04:00
sd-device sd-device: don't retry loading uevent/db files more than once 2015-04-26 01:30:23 +02:00
sd-event sd-event: simplify sd_event_run() 2015-04-10 18:45:39 +02:00
sd-hwdb remove unused includes 2015-02-23 23:53:42 +01:00
sd-id128 shared: add random-util.[ch] 2015-04-11 00:11:13 +02:00
sd-login shared: add formats-util.h 2015-04-10 23:54:48 +02:00
sd-network networkd: add support for Uplink Failure Detection 2015-02-27 13:58:30 -05:00
sd-path tree-wide: there is no ENOTSUP on linux 2015-03-13 14:10:39 +01:00
sd-resolve Add (void) where we don't care about return value 2015-03-15 17:26:58 -04:00
sd-rtnl networkd: Add support for bond option. 2015-04-20 20:14:34 +02:00
sd-utf8 libsystemd: split up into subdirs 2014-01-21 14:41:35 +01:00
.gitignore build-sys: export experimental symbols only with --enable-kdbus 2014-02-19 20:53:18 +01:00
libsystemd.pc.in build-sys: update .pc.in files 2014-01-25 18:55:58 -05:00
libsystemd.sym.m4 sd-bus: add controlling tty field to sd_creds object 2015-04-23 19:43:40 +02:00
Makefile libsystemd-bus: rename to libsystemd 2014-01-13 18:54:19 +01:00