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/shared/dev-setup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/dev-setup.h') diff --git a/src/shared/dev-setup.h b/src/shared/dev-setup.h index 320c0b30ba..d41b6eefba 100644 --- a/src/shared/dev-setup.h +++ b/src/shared/dev-setup.h @@ -21,4 +21,4 @@ along with systemd; If not, see . ***/ -void dev_setup(const char *pathprefix); +int dev_setup(const char *pathprefix); -- cgit v1.2.3-54-g00ecf