chiark / gitweb /
sd-bus: implement sd_bus_get_owner_creds() for kdbus
authorDaniel Mack <daniel@zonque.org>
Wed, 22 Oct 2014 17:43:09 +0000 (19:43 +0200)
committerDaniel Mack <daniel@zonque.org>
Wed, 22 Oct 2014 17:45:07 +0000 (19:45 +0200)
commit8f44e3ea3e0821625e584938e54623e7fb381bb8
tree1a91bf18cf0d57760d0d1a71be46ff287cfc60cc
parent056f95d0a70413e10e4a4ea9966baabb5a1450ed
sd-bus: implement sd_bus_get_owner_creds() for kdbus

kdbus learned a new ioctl to tell userspace about a bus creator's
credentials, which is what we need to implement sd_bus_get_owner_creds() for
kdbus.

Move the function from sd-bus.c to bus-control.c to be able to reuse
the bus_populate_creds_from_items() helper.
src/libsystemd/sd-bus/bus-control.c
src/libsystemd/sd-bus/sd-bus.c