From ff6c70f18bacad842b88bf2bfb86d6e9841c1a16 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 6 Dec 2013 01:30:59 +0100 Subject: [PATCH] bus: update kdbus.h --- src/libsystemd-bus/bus-kernel.c | 1 - src/libsystemd-bus/kdbus.h | 9 +-------- 2 files changed, 1 insertion(+), 9 deletions(-) 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]; }; -- 2.30.2