Merge pull request #46 from madaidan/remount-secure

Don't remount /sys/kernel/security
This commit is contained in:
Patrick Schleizer 2019-12-21 17:59:56 +00:00 committed by GitHub
commit fffdf5090c
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 "$@"
}