Patrick Schleizer 2019-12-21 14:06:10 -05:00
parent 10c19d6a8f
commit 1e8457ea47
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -106,11 +106,12 @@ _tmp() {
remount_secure "$@" remount_secure "$@"
} }
_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
## Not using noexec on /lib. # _lib() {
new_mount_options="nosuid,nodev" # ## Not using noexec on /lib.
remount_secure "$@" # new_mount_options="nosuid,nodev"
} # remount_secure "$@"
# }
end() { end() {
exit $exit_code exit $exit_code
@ -121,7 +122,7 @@ main() {
_run "$@" _run "$@"
_dev_shm "$@" _dev_shm "$@"
_tmp "$@" _tmp "$@"
_lib "$@" #_lib "$@"
end "$@" end "$@"
} }