core: Beef up PrivateDevices=
Also mount /dev/kdbus, /dev/mqueue and /dev/hugepages into the /dev for namespaced services.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user