summaryrefslogtreecommitdiff
path: root/s6/sv/mount-ksecurity/up
blob: b7c42406794cb15ec4bb2d8cc5c5d5cb11909f9e (plain)
1
2
3
4
5
6
7
8
#!/bin/execlineb -P
if { s6-echo "[   Virtual-FS   ] 5/6 : Mounting securityfs" }
foreground {
   if { test -d /sys/kernel }
        if -n { mountpoint -q /sys/kernel/security }
           mount -n -t securityfs securityfs /sys/kernel/security

}