core: Beef up PrivateDevices=

Also mount /dev/kdbus, /dev/mqueue and /dev/hugepages into the /dev for
namespaced services.
This commit is contained in:
Lennart Poettering
2014-03-19 16:25:11 +01:00
parent d0ce77344b
commit 2b85f4e19c
2 changed files with 100 additions and 42 deletions
+1 -1
View File
@@ -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;
}