kdbus.h: add KDBUS_CMD_BUS_CREATOR_INFO
authorDaniel Mack <daniel@zonque.org>
Wed, 22 Oct 2014 16:01:19 +0000 (18:01 +0200)
committerDaniel Mack <daniel@zonque.org>
Wed, 22 Oct 2014 16:03:38 +0000 (18:03 +0200)
commitaf18ce31c583e66b5a5c419a20cf9cd2bc133e63
tree165f74e807c3e2125e176ee8388ff824203e1664
parent0ee66b27fa342dd043bfa403d2957ecd52895150
kdbus.h: add KDBUS_CMD_BUS_CREATOR_INFO

Add a call to return metadata on the task that created a bus, at the
moment it did so. The call behaves similar to KDBUS_CMD_CONN_INFO, and
shares the same dispatcher code in handle.c.

While at it, factor out bus-related test functions to their own file,
and also add some code test the new ioctl.

Signed-off-by: Daniel Mack <daniel@zonque.org>
bus.c
bus.h
handle.c
kdbus.h
kdbus.txt
test/Makefile
test/test-bus.c [new file with mode: 0644]
test/test-connection.c