diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-03-19 01:36:03 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-03-19 01:36:03 +0100 |
commit | d2e7b05f248a03dc528f4a270dac2ac3ff3e605a (patch) | |
tree | 86bb9b1ae8c351722e328c2ea3dec0a2cfb60b56 /src/libsystemd/sd-bus/bus-kernel.c | |
parent | f9d12d44393189e6ebad59208902b759958635f2 (diff) |
core: when creating an activating busname attach all metadata fields to the messages queued for it
This way we can be sure that the service the messages are ultimately
intended for finds all fields it might need.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-kernel.c')
-rw-r--r-- | src/libsystemd/sd-bus/bus-kernel.c | 1 |
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 64a74d6edd..977a7cda40 100644 --- a/src/libsystemd/sd-bus/bus-kernel.c +++ b/src/libsystemd/sd-bus/bus-kernel.c @@ -1422,6 +1422,7 @@ int bus_kernel_create_starter(const char *bus, const char *name, bool accept_fd, hello->size = size; hello->conn_flags = KDBUS_HELLO_ACTIVATOR | (accept_fd ? KDBUS_HELLO_ACCEPT_FD : 0); hello->pool_size = KDBUS_POOL_SIZE; + hello->attach_flags = _KDBUS_ATTACH_ALL; if (ioctl(fd, KDBUS_CMD_HELLO, hello) < 0) { safe_close(fd); |