chiark / gitweb /
bus-kernel: when installing an activator, ask for any kind of metadata to be attached...
authorLennart Poettering <lennart@poettering.net>
Wed, 26 Nov 2014 01:54:41 +0000 (02:54 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 26 Nov 2014 02:06:50 +0000 (03:06 +0100)
We don't know what the activated service might want in the end, hence
enable everything current and future, just to be sure.

src/libsystemd/sd-bus/bus-kernel.c

index 6baa84c042815691f63608eedc50606840e9938e..2bfce933e3877f0cca534d9efa1c4ab934be90d9 100644 (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;
                 (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;
 
         if (ioctl(fd, KDBUS_CMD_HELLO, hello) < 0)
                 return -errno;