summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-02 19:59:15 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-02 19:59:15 +0100
commitfd5b0b9141728abf503f900200dd8b43248ec9e2 (patch)
tree1d4a22179d27fc54ba0d3d931e606ba1be70333a /src/libsystemd-bus
parentf8a2d1c925bf2edd91a3aab2507ff8102b89f6e6 (diff)
nspawn: make sure /dev/kdbus in the container is world accessible
Diffstat (limited to 'src/libsystemd-bus')
-rw-r--r--src/libsystemd-bus/bus-kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c
index 93be698f59..98fc27cda5 100644
--- a/src/libsystemd-bus/bus-kernel.c
+++ b/src/libsystemd-bus/bus-kernel.c
@@ -1111,7 +1111,7 @@ int bus_kernel_create_namespace(const char *name, char **s) {
n->type = KDBUS_MAKE_NAME;
make->size = ALIGN8(offsetof(struct kdbus_cmd_ns_make, items) + n->size);
- make->flags = KDBUS_MAKE_POLICY_OPEN;
+ make->flags = KDBUS_MAKE_POLICY_OPEN | KDBUS_MAKE_ACCESS_WORLD;
if (ioctl(fd, KDBUS_CMD_NS_MAKE, make) < 0) {
close_nointr_nofail(fd);