mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-26 18:39:25 -05:00
Don't remount /sys/kernel/security
This commit is contained in:
parent
1c99b56c9b
commit
f5a52aeddc
@ -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 "$@"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user