This commit is contained in:
Patrick Schleizer 2023-10-22 16:49:36 -04:00
parent 0e80acf38d
commit d521662d04
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -248,6 +248,9 @@ _lib() {
mount_folder="$NEWROOT/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
## There are many executables in /lib. To check:
## sudo find /var/lib -type f -executable
## sudo find /var/lib -type f -executable ! -type l
intended_mount_options="nosuid,nodev"
remount_secure
}