mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
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.
This commit is contained in:
parent
f9d12d4439
commit
d2e7b05f24
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user