summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/sd-bus.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-11-28 02:26:03 +0100
committerKay Sievers <kay@vrfy.org>2013-11-28 02:26:03 +0100
commitdd971bd2cef3e77cba28e52d7d51ec37035e3e61 (patch)
tree18fe233170993cfc3ad5167af37d0c9a36e31dc9 /src/libsystemd-bus/sd-bus.c
parent5acac4c814f973d1d47e5fbad1fa52cd3e92e7cf (diff)
bus: update kdbus.h and always subscribe to KDBUS_HELLO_ATTACH_NAMES
Diffstat (limited to 'src/libsystemd-bus/sd-bus.c')
-rw-r--r--src/libsystemd-bus/sd-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/sd-bus.c b/src/libsystemd-bus/sd-bus.c
index f13e346dcf..49a2abc73b 100644
--- a/src/libsystemd-bus/sd-bus.c
+++ b/src/libsystemd-bus/sd-bus.c
@@ -181,7 +181,7 @@ _public_ int sd_bus_new(sd_bus **ret) {
r->n_ref = REFCNT_INIT;
r->input_fd = r->output_fd = -1;
r->message_version = 1;
- r->hello_flags |= KDBUS_HELLO_ACCEPT_FD;
+ r->hello_flags |= KDBUS_HELLO_ACCEPT_FD|KDBUS_HELLO_ATTACH_NAMES;
r->original_pid = getpid();
assert_se(pthread_mutex_init(&r->memfd_cache_mutex, NULL) == 0);