From: Kay Sievers Date: Fri, 6 Dec 2013 00:30:59 +0000 (+0100) Subject: bus: update kdbus.h X-Git-Tag: v209~1108 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=ff6c70f18bacad842b88bf2bfb86d6e9841c1a16 bus: update kdbus.h --- diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c index 2c87f22fd..5ed836eeb 100644 --- a/src/libsystemd-bus/bus-kernel.c +++ b/src/libsystemd-bus/bus-kernel.c @@ -1067,7 +1067,6 @@ int bus_kernel_create_bus(const char *name, char **s) { make->size = ALIGN8(offsetof(struct kdbus_cmd_bus_make, items) + n->size); make->flags = KDBUS_MAKE_POLICY_OPEN; - make->bus_flags = 0; make->bloom_size = BLOOM_SIZE; assert_cc(BLOOM_SIZE % 8 == 0); diff --git a/src/libsystemd-bus/kdbus.h b/src/libsystemd-bus/kdbus.h index 76333099d..13fe49a2b 100644 --- a/src/libsystemd-bus/kdbus.h +++ b/src/libsystemd-bus/kdbus.h @@ -403,18 +403,12 @@ enum { enum { _KDBUS_MAKE_NULL, KDBUS_MAKE_NAME, - KDBUS_MAKE_CRED,/* allow translator services which connect - * to the bus on behalf of somebody else, - * allow specifying the credentials of the - * client to connect on behalf on. Needs - * privileges */ }; /** * struct kdbus_cmd_bus_make - struct to make a bus * @size: The total size of the struct - * @flags: FIXME - * @bus_flags: + * @flags: Properties for the bus to create * @bloom_filter: Size of the bloom filter for this bus * @items: Items describing details such as the name of the bus * @@ -424,7 +418,6 @@ enum { struct kdbus_cmd_bus_make { __u64 size; __u64 flags; - __u64 bus_flags; __u64 bloom_size; struct kdbus_item items[0]; };