diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-03-19 16:23:32 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-03-19 16:25:11 +0100 |
commit | 2b85f4e19cee6a8533208f9fd618a7da6d32ad51 (patch) | |
tree | 531e0ce8b7a9a201bdb24634ac64e7f30325b699 /src/shared/dev-setup.c | |
parent | busctl: when monitoring the bus, enable all credentials (diff) | |
download | systemd-2b85f4e19cee6a8533208f9fd618a7da6d32ad51.tar.xz systemd-2b85f4e19cee6a8533208f9fd618a7da6d32ad51.zip |
core: Beef up PrivateDevices=
Also mount /dev/kdbus, /dev/mqueue and /dev/hugepages into the /dev for
namespaced services.
Diffstat (limited to 'src/shared/dev-setup.c')
-rw-r--r-- | src/shared/dev-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/dev-setup.c b/src/shared/dev-setup.c index e025e17bbe..1a565d5470 100644 --- a/src/shared/dev-setup.c +++ b/src/shared/dev-setup.c @@ -64,7 +64,7 @@ int dev_setup(const char *prefix) { if (j[0] == '-') { j++; - if (access(j, F_OK)) + if (access(j, F_OK) < 0) continue; } |