diff options
author | Olivier Mauras <olivier@mauras.ch> | 2017-03-14 16:54:23 +0100 |
---|---|---|
committer | Olivier Mauras <olivier@mauras.ch> | 2017-03-21 01:19:04 +0100 |
commit | fae8defa213dbeed39379b92144ae5a1e302e089 (patch) | |
tree | c3cd5a3e01fdaa98569ea2a8037974d0aac2e9a9 | |
parent | fd2a983c3e466a408d68169812fe388f8a3927ce (diff) | |
download | runit-void-fae8defa213dbeed39379b92144ae5a1e302e089.tar.gz runit-void-fae8defa213dbeed39379b92144ae5a1e302e089.tar.xz runit-void-fae8defa213dbeed39379b92144ae5a1e302e089.zip |
core-services/00-pseudofs.sh: Add securityfs mountpoint - Needed for LSM support
-rw-r--r-- | core-services/00-pseudofs.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core-services/00-pseudofs.sh b/core-services/00-pseudofs.sh index 3df155f..1ae7398 100644 --- a/core-services/00-pseudofs.sh +++ b/core-services/00-pseudofs.sh @@ -8,6 +8,7 @@ mountpoint -q /dev || mount -o mode=0755,nosuid -t devtmpfs dev /dev mkdir -p -m0755 /run/runit /run/lvm /run/user /run/lock /run/log /dev/pts /dev/shm mountpoint -q /dev/pts || mount -o mode=0620,gid=5,nosuid,noexec -n -t devpts devpts /dev/pts mountpoint -q /dev/shm || mount -o mode=1777,nosuid,nodev -n -t tmpfs shm /dev/shm +mountpoint -q /sys/kernel/security || mount -n -t securityfs securityfs /sys/kernel/security if [ -z "$VIRTUALIZATION" ]; then mountpoint -q /sys/fs/cgroup || mount -o mode=0755 -t tmpfs cgroup /sys/fs/cgroup |