chiark / gitweb /
bus: update kdbus.h
authorKay Sievers <kay@vrfy.org>
Fri, 6 Dec 2013 00:30:59 +0000 (01:30 +0100)
committerKay Sievers <kay@vrfy.org>
Fri, 6 Dec 2013 00:30:59 +0000 (01:30 +0100)
src/libsystemd-bus/bus-kernel.c
src/libsystemd-bus/kdbus.h

index 2c87f22fd7f5e7509d9d27f52055f4e946746e61..5ed836eeb069fc1369e872f50253bd9a9881bf50 100644 (file)
@@ -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->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);
 
         make->bloom_size = BLOOM_SIZE;
         assert_cc(BLOOM_SIZE % 8 == 0);
 
index 76333099d4549071980144bfe82f86229ff9c4a5..13fe49a2b96e5d48c99b517b2425c8e85fd4b05e 100644 (file)
@@ -403,18 +403,12 @@ enum {
 enum {
        _KDBUS_MAKE_NULL,
        KDBUS_MAKE_NAME,
 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
 };
 
 /**
  * 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
  *
  * @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;
 struct kdbus_cmd_bus_make {
        __u64 size;
        __u64 flags;
-       __u64 bus_flags;
        __u64 bloom_size;
        struct kdbus_item items[0];
 };
        __u64 bloom_size;
        struct kdbus_item items[0];
 };