chiark / gitweb /
bus: catch up with kdbus
authorKay Sievers <kay@vrfy.org>
Sat, 30 Nov 2013 19:41:02 +0000 (20:41 +0100)
committerKay Sievers <kay@vrfy.org>
Sat, 30 Nov 2013 19:41:02 +0000 (20:41 +0100)
src/libsystemd-bus/bus-control.c
src/libsystemd-bus/kdbus.h

index 9e815a6..0fc2b1a 100644 (file)
@@ -426,11 +426,6 @@ static int bus_get_owner_kdbus(
         }
 
         cmd->size = size;
-
-        r = kdbus_translate_attach_flags(mask, (uint64_t*) &cmd->attach_flags);
-        if (r < 0)
-                return r;
-
         r = ioctl(bus->input_fd, KDBUS_CMD_NAME_INFO, cmd);
         if (r < 0)
                 return -errno;
index 23d3c13..838a087 100644 (file)
@@ -368,7 +368,6 @@ struct kdbus_name_list {
 struct kdbus_cmd_name_info {
        __u64 size;
        __u64 flags;                    /* query flags */
-       __u64 attach_flags;             /* which meta data payload to attach */
        __u64 id;                       /* either ID, or 0 and name follows */
        __u64 offset;                   /* returned offset in the caller's buffer */
        char name[0];