From 7f112f50fea585411ea2d493b3582bea77eb4d6e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 20 Jan 2014 19:54:51 +0100 Subject: exec: introduce PrivateDevices= switch to provide services with a private /dev Similar to PrivateNetwork=, PrivateTmp= introduce PrivateDevices= that sets up a private /dev with only the API pseudo-devices like /dev/null, /dev/zero, /dev/random, but not any physical devices in them. --- src/core/namespace.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/namespace.h') diff --git a/src/core/namespace.h b/src/core/namespace.h index af0c01df9a..fb1fc6ec0d 100644 --- a/src/core/namespace.h +++ b/src/core/namespace.h @@ -28,6 +28,7 @@ int setup_namespace(char **read_write_dirs, char **inaccessible_dirs, char *tmp_dir, char *var_tmp_dir, + bool private_dev, unsigned mount_flags); int setup_tmp_dirs(const char *id, -- cgit v1.2.3-54-g00ecf