summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-kernel.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-26 02:54:41 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-26 03:06:50 +0100
commit38813cc8245e35fc89d3671e4cee031d4b2bf430 (patch)
tree0cf8e360be25f28fd25fbdec370d1267be92d6fb /src/libsystemd/sd-bus/bus-kernel.c
parent8aee3fc7eae2e60592bac838bc7268720e1d489c (diff)
bus-kernel: when installing an activator, ask for any kind of metadata to be attached to incoming messages
We don't know what the activated service might want in the end, hence enable everything current and future, just to be sure.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-kernel.c')
-rw-r--r--src/libsystemd/sd-bus/bus-kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-kernel.c b/src/libsystemd/sd-bus/bus-kernel.c
index 6baa84c042..2bfce933e3 100644
--- a/src/libsystemd/sd-bus/bus-kernel.c
+++ b/src/libsystemd/sd-bus/bus-kernel.c
@@ -1689,7 +1689,7 @@ int bus_kernel_make_starter(
(accept_fd ? KDBUS_HELLO_ACCEPT_FD : 0);
hello->pool_size = KDBUS_POOL_SIZE;
hello->attach_flags_send = _KDBUS_ATTACH_ANY;
- hello->attach_flags_recv = _KDBUS_ATTACH_ALL;
+ hello->attach_flags_recv = _KDBUS_ATTACH_ANY;
if (ioctl(fd, KDBUS_CMD_HELLO, hello) < 0)
return -errno;