diff options
author | Daniel Mack <zonque@gmail.com> | 2013-11-29 15:36:37 +0100 |
---|---|---|
committer | Daniel Mack <zonque@gmail.com> | 2013-11-29 15:36:40 +0100 |
commit | d21a7bb1a91ca4654287a69d0443629198e42e1b (patch) | |
tree | eb050b2e76e1a37109dc864f94ca1f6e1c99492a /src/libsystemd-bus/bus-socket.c | |
parent | 71008e18a0bf9e9b96348fe2fb751aea23397186 (diff) |
libsystemd-bus: catch up with latest kdbus changes
kdbus_cmd_hello now has a new uint64_t flags field for the requested
attachments. Follow that change in libsystemd-bus.
Diffstat (limited to 'src/libsystemd-bus/bus-socket.c')
-rw-r--r-- | src/libsystemd-bus/bus-socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-socket.c b/src/libsystemd-bus/bus-socket.c index 60d9ad41c3..6845f9d1bb 100644 --- a/src/libsystemd-bus/bus-socket.c +++ b/src/libsystemd-bus/bus-socket.c @@ -611,7 +611,7 @@ int bus_socket_setup(sd_bus *b) { enable = !b->bus_client; setsockopt(b->input_fd, SOL_SOCKET, SO_PASSCRED, &enable, sizeof(enable)); - enable = !b->bus_client && (b->hello_flags & KDBUS_HELLO_ATTACH_SECLABEL); + enable = !b->bus_client && (b->attach_flags & KDBUS_ATTACH_SECLABEL); setsockopt(b->input_fd, SOL_SOCKET, SO_PASSSEC, &enable, sizeof(enable)); /* Increase the buffers to a MB */ |