mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-02-09 00:28:28 -05:00
fix
This commit is contained in:
parent
619f1705e1
commit
245fad0986
@ -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 "$@"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user