mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
Merge pull request #46 from madaidan/remount-secure
Don't remount /sys/kernel/security
This commit is contained in:
commit
fffdf5090c
@ -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