summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-kernel.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-12 01:49:52 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-12 01:49:52 +0200
commit8323bc1f907ff558df5ccd6bdf1e14debed5cf2e (patch)
tree6aaf16b8b61a2c3771473b422b7ddb5b75cf9885 /src/libsystemd-bus/bus-kernel.c
parentf9be01f3b4784affa269694a4f5cdcb87f06f2f7 (diff)
bus: also parse PID starttime out of kdbus message
Diffstat (limited to 'src/libsystemd-bus/bus-kernel.c')
-rw-r--r--src/libsystemd-bus/bus-kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c
index 83379d1430..3d26f16cda 100644
--- a/src/libsystemd-bus/bus-kernel.c
+++ b/src/libsystemd-bus/bus-kernel.c
@@ -305,6 +305,7 @@ static int bus_kernel_make_message(sd_bus *bus, struct kdbus_msg *k, sd_bus_mess
}
if (creds) {
+ m->pid_starttime = creds->starttime / NSEC_PER_USEC;
m->uid = creds->uid;
m->gid = creds->gid;
m->pid = creds->pid;