mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-26 10:39:30 -05:00
no longer remount /lib
https://forums.whonix.org/t/re-mount-home-and-other-with-noexec-and-nosuid-among-other-useful-mount-options-for-better-security/7707/25
This commit is contained in:
parent
10c19d6a8f
commit
1e8457ea47
@ -106,11 +106,12 @@ _tmp() {
|
||||
remount_secure "$@"
|
||||
}
|
||||
|
||||
_lib() {
|
||||
## Not using noexec on /lib.
|
||||
new_mount_options="nosuid,nodev"
|
||||
remount_secure "$@"
|
||||
}
|
||||
## https://forums.whonix.org/t/re-mount-home-and-other-with-noexec-and-nosuid-among-other-useful-mount-options-for-better-security/7707/25
|
||||
# _lib() {
|
||||
# ## Not using noexec on /lib.
|
||||
# new_mount_options="nosuid,nodev"
|
||||
# remount_secure "$@"
|
||||
# }
|
||||
|
||||
end() {
|
||||
exit $exit_code
|
||||
@ -121,7 +122,7 @@ main() {
|
||||
_run "$@"
|
||||
_dev_shm "$@"
|
||||
_tmp "$@"
|
||||
_lib "$@"
|
||||
#_lib "$@"
|
||||
end "$@"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user