summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-kernel.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/bus-kernel.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/bus-kernel.c')
-rw-r--r--src/libsystemd/sd-bus/bus-kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-kernel.c b/src/libsystemd/sd-bus/bus-kernel.c
index c3dbc837d7..27899c1989 100644
--- a/src/libsystemd/sd-bus/bus-kernel.c
+++ b/src/libsystemd/sd-bus/bus-kernel.c
@@ -1566,6 +1566,7 @@ int bus_kernel_make_starter(
hello->size = size;
hello->conn_flags =
+ KDBUS_HELLO_ACCEPT_MEMFD |
(activating ? KDBUS_HELLO_ACTIVATOR : KDBUS_HELLO_POLICY_HOLDER) |
(accept_fd ? KDBUS_HELLO_ACCEPT_FD : 0);
hello->pool_size = KDBUS_POOL_SIZE;