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.
This commit is contained in:
Lennart Poettering 2014-11-26 02:54:41 +01:00
parent 8aee3fc7ea
commit 38813cc824
1 changed files with 1 additions and 1 deletions

View File

@ -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;