Don't remount /sys/kernel/security

This commit is contained in:
madaidan 2019-12-21 14:55:28 +00:00 committed by GitHub
parent 1c99b56c9b
commit f5a52aeddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,11 +101,6 @@ _tmp() {
remount_secure "$@"
}
_sys_kernel_security() {
new_mount_options="nosuid,nodev${noexec_maybe}"
remount_secure "$@"
}
_lib() {
## Not using noexec on /lib.
new_mount_options="nosuid,nodev"
@ -121,7 +116,6 @@ main() {
_run "$@"
_dev_shm "$@"
_tmp "$@"
_sys_kernel_security "$@"
_lib "$@"
end "$@"
}