mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-27 00:59:27 -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 "$@"
|
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 "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user