diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-07-30 14:12:09 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-07-30 14:12:09 +0200 |
commit | 89c240e3a5de561ec7164507b41121aecc299b08 (patch) | |
tree | f69bc06a0e3aff8d1b126dacbcb14b3d2f87031f /src/bus-proxyd/bus-xml-policy.c | |
parent | 8388607b5851574e50a6e65db98135b793b08910 (diff) |
sd-bus: fix parsing of KDBUS_CMD_LIST
We *must not* assume that an entry returned by KDBUS_CMD_LIST only
carries a single KDBUS_ITEM_OWNED_NAME. Similarly, we already parse
multiple such items for message-metadata, so make sure we support the
same on KDBUS_CMD_LIST.
By relying on the kernel to return all names separately, we limit the
kernel API significantly. Stop this and let the kernel decide how to
return its data.
Diffstat (limited to 'src/bus-proxyd/bus-xml-policy.c')
0 files changed, 0 insertions, 0 deletions