diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-01-20 19:54:51 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-01-20 21:28:37 +0100 |
commit | 7f112f50fea585411ea2d493b3582bea77eb4d6e (patch) | |
tree | 2c670344aa6be9fff8bf4538d2e188bf280ecde3 /src/shared/dev-setup.h | |
parent | update TODO (diff) | |
download | systemd-7f112f50fea585411ea2d493b3582bea77eb4d6e.tar.xz systemd-7f112f50fea585411ea2d493b3582bea77eb4d6e.zip |
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.
Diffstat (limited to 'src/shared/dev-setup.h')
-rw-r--r-- | src/shared/dev-setup.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>. ***/ -void dev_setup(const char *pathprefix); +int dev_setup(const char *pathprefix); |