This commit is contained in:
Patrick Schleizer 2023-10-22 14:00:06 -04:00
parent 619f1705e1
commit 245fad0986
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -189,12 +189,12 @@ _var_tmp() {
} }
## https://forums.whonix.org/t/re-mount-home-and-other-with-noexec-and-nosuid-among-other-useful-mount-options-for-better-security/7707/25 ## 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() { _lib() {
# mount_folder="$NEWROOT/lib" mount_folder="$NEWROOT/lib"
# ## Not using noexec on /lib. ## Not using noexec on /lib.
# intended_mount_options="nosuid,nodev" intended_mount_options="nosuid,nodev"
# remount_secure "$@" remount_secure "$@"
# } }
_home() { _home() {
mount_folder="$NEWROOT/home" mount_folder="$NEWROOT/home"
@ -215,13 +215,20 @@ main() {
init "$@" init "$@"
parse_options "$@" parse_options "$@"
_boot "$@" _boot "$@"
#_run "$@" #_run "$@"
## TODO: ?
#_dev "$@" #_dev "$@"
#_dev_shm "$@" #_dev_shm "$@"
#_tmp "$@" #_tmp "$@"
#_var "$@" #_var "$@"
#_var_tmp "$@" #_var_tmp "$@"
## TODO: broken?
#_lib "$@" #_lib "$@"
#_home "$@" #_home "$@"
end "$@" end "$@"
} }