From: Lennart Poettering Date: Wed, 26 Nov 2014 01:54:41 +0000 (+0100) Subject: bus-kernel: when installing an activator, ask for any kind of metadata to be attached... X-Git-Tag: v218~344 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=38813cc8245e35fc89d3671e4cee031d4b2bf430;p=elogind.git 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. --- diff --git a/src/libsystemd/sd-bus/bus-kernel.c b/src/libsystemd/sd-bus/bus-kernel.c index 6baa84c04..2bfce933e 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;