From 2b85f4e19cee6a8533208f9fd618a7da6d32ad51 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 19 Mar 2014 16:23:32 +0100 Subject: core: Beef up PrivateDevices= Also mount /dev/kdbus, /dev/mqueue and /dev/hugepages into the /dev for namespaced services. --- src/shared/dev-setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared') 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; } -- cgit v1.2.3-54-g00ecf