mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-20 12:20:21 -04: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
1 changed files with 7 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue