summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/sd-bus.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2014-10-14 20:03:06 +0200
committerDaniel Mack <daniel@zonque.org>2014-10-14 20:03:06 +0200
commit1a2409e262da65a4b0ca8ab18fcf5eabd2d404ca (patch)
treee6a5956a59bfc75166badb407b3f1bb5771bfe92 /src/libsystemd/sd-bus/sd-bus.c
parentb0f84d4d7832659f2216bda7a7cdf51f5e79c6eb (diff)
sd-bus: sync kdbus.h (ABI break)
kdbus learned KDBUS_HELLO_ACCEPT_MEMFD as new connection negotiation flag. Set it by default in systemd for now.
Diffstat (limited to 'src/libsystemd/sd-bus/sd-bus.c')
-rw-r--r--src/libsystemd/sd-bus/sd-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c
index 549f9e0943..e34a6bbd87 100644
--- a/src/libsystemd/sd-bus/sd-bus.c
+++ b/src/libsystemd/sd-bus/sd-bus.c
@@ -171,7 +171,7 @@ _public_ int sd_bus_new(sd_bus **ret) {
r->input_fd = r->output_fd = -1;
r->message_version = 1;
r->creds_mask |= SD_BUS_CREDS_WELL_KNOWN_NAMES|SD_BUS_CREDS_UNIQUE_NAME;
- r->hello_flags |= KDBUS_HELLO_ACCEPT_FD;
+ r->hello_flags |= KDBUS_HELLO_ACCEPT_FD | KDBUS_HELLO_ACCEPT_MEMFD;
r->attach_flags |= KDBUS_ATTACH_NAMES;
r->original_pid = getpid();