diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-04-22 23:38:38 -0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-04-22 23:38:38 -0300 |
commit | 120f919e708b49d58e4302c91d32d12917068ba3 (patch) | |
tree | 8dc36163cd0000238464aefcb2f7a6f2375a1e1f /src/libsystemd-bus/bus-kernel.c | |
parent | bc7f3beb3090716d12406e2bfdba1df0e9d4b333 (diff) |
bus: parse audit metadata from kdbus messages
Diffstat (limited to 'src/libsystemd-bus/bus-kernel.c')
-rw-r--r-- | src/libsystemd-bus/bus-kernel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c index 115297dca4..42b16966bd 100644 --- a/src/libsystemd-bus/bus-kernel.c +++ b/src/libsystemd-bus/bus-kernel.c @@ -473,6 +473,8 @@ static int bus_kernel_make_message(sd_bus *bus, struct kdbus_msg *k, sd_bus_mess m->cmdline_length = l; } else if (d->type == KDBUS_MSG_SRC_CGROUP) m->cgroup = d->str; + else if (d->type == KDBUS_MSG_SRC_AUDIT) + m->audit = &d->audit; else log_debug("Got unknown field from kernel %llu", d->type); } |