This commit is contained in:
Patrick Schleizer 2019-12-16 03:53:10 -05:00
parent f68efd53cf
commit 4ca9fc5920
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -72,7 +72,7 @@ securityfs() {
if [ -e "/var/run/remount-secure/${FUNCNAME}" ]; then
return 0
fi
mount -o nosuid,nodev${noexec_maybe} --bind /tmp /tmp || exit_code=5
mount -o nosuid,nodev${noexec_maybe} --bind /sys/kernel/security /sys/kernel/security || exit_code=6
touch "/var/run/remount-secure/${FUNCNAME}"
}