mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
fix
This commit is contained in:
parent
ce0babce21
commit
f80b5fe376
@ -146,7 +146,7 @@ remount_secure() {
|
||||
_boot() {
|
||||
mount_folder="$NEWROOT/boot"
|
||||
## https://lists.freedesktop.org/archives/systemd-devel/2015-February/028456.html
|
||||
intended_mount_options="nosuid,nodev${noexec_maybe}"
|
||||
intended_mount_options="nosuid,nodev,noexec"
|
||||
remount_secure "$@"
|
||||
}
|
||||
|
||||
@ -199,7 +199,7 @@ _var_log() {
|
||||
|
||||
_lib() {
|
||||
mount_folder="$NEWROOT/lib"
|
||||
## Not using noexec on /lib.
|
||||
## Cannot use noexec on /lib as per:
|
||||
## https://forums.whonix.org/t/re-mount-home-and-other-with-noexec-and-nosuid-among-other-useful-mount-options-for-better-security/7707/25
|
||||
intended_mount_options="nosuid,nodev"
|
||||
remount_secure "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user