about summary refs log tree commit diff
diff options
context:
space:
mode:
authorToyam Cox <aviator45003@gmail.com>2017-09-27 21:46:03 -0400
committerGitHub <noreply@github.com>2017-09-27 21:46:03 -0400
commita943cc1971f855e5ceac49edb9428fbf3d255360 (patch)
tree84862eb4ea7bd99b99bb7ec55f45c9602e65b259
parent5fd02d6db5758174c7d6b9e3f642cced595e3445 (diff)
parentfae8defa213dbeed39379b92144ae5a1e302e089 (diff)
downloadrunit-void-a943cc1971f855e5ceac49edb9428fbf3d255360.tar.gz
runit-void-a943cc1971f855e5ceac49edb9428fbf3d255360.tar.xz
runit-void-a943cc1971f855e5ceac49edb9428fbf3d255360.zip
Merge pull request #67 from coredumb/apparmor_implementation
core-services/00-pseudofs.sh: Add securityfs mountpoint - Needed for …
-rw-r--r--core-services/00-pseudofs.sh1
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