mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-21 17:11:33 -05:00
Enable hardened_malloc for Flatpak
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
4998051aa3
commit
80a12f1ecc
@ -201,6 +201,10 @@ flatpak --user override com.github.tchx84.Flatseal --filesystem=/var/lib/flatpak
|
||||
flatpak --user override org.gnome.Extensions --talk-name=org.gnome.Shell.Extensions
|
||||
flatpak update -y
|
||||
|
||||
# Enable hardened_malloc for Flatpak
|
||||
sudo flatpak override --system --filesystem=host-os:ro --env=LD_PRELOAD=/var/run/host/usr/lib64/libhardened_malloc.so
|
||||
flatpak override --user --filesystem=host-os:ro --env=LD_PRELOAD=/var/run/host/usr/lib64/libhardened_malloc.so
|
||||
|
||||
# Install Microsoft Edge if x86_64
|
||||
MACHINE_TYPE=$(uname -m)
|
||||
if [ "${MACHINE_TYPE}" = 'x86_64' ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user