mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-26 18:59:26 -05:00
Don't remount /sys/kernel/security
This commit is contained in:
parent
1c99b56c9b
commit
f5a52aeddc
@ -101,11 +101,6 @@ _tmp() {
|
|||||||
remount_secure "$@"
|
remount_secure "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
_sys_kernel_security() {
|
|
||||||
new_mount_options="nosuid,nodev${noexec_maybe}"
|
|
||||||
remount_secure "$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
_lib() {
|
_lib() {
|
||||||
## Not using noexec on /lib.
|
## Not using noexec on /lib.
|
||||||
new_mount_options="nosuid,nodev"
|
new_mount_options="nosuid,nodev"
|
||||||
@ -121,7 +116,6 @@ main() {
|
|||||||
_run "$@"
|
_run "$@"
|
||||||
_dev_shm "$@"
|
_dev_shm "$@"
|
||||||
_tmp "$@"
|
_tmp "$@"
|
||||||
_sys_kernel_security "$@"
|
|
||||||
_lib "$@"
|
_lib "$@"
|
||||||
end "$@"
|
end "$@"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user