mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-12-23 07:12:07 -05:00
Add ARM support for hardened_malloc on Red Hat systems
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
8889adca80
commit
80bb7c00d8
@ -223,6 +223,9 @@ if [ "$virt_type" = '' ] || [ "${MACHINE_TYPE}" == 'x86_64' ]; then
|
||||
echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload
|
||||
sudo dracut -f
|
||||
fi
|
||||
elif [ "${MACHINE_TYPE}" == 'aarch64' ]; then
|
||||
sudo dnf copr enable secureblue/hardened_malloc -y
|
||||
sudo dnf install hardened_malloc -y
|
||||
fi
|
||||
|
||||
output 'The script is done. You can also remove gnome-terminal since gnome-console will replace it.'
|
@ -213,6 +213,9 @@ if [ "$virt_type" = '' ] || [ "${MACHINE_TYPE}" == 'x86_64' ]; then
|
||||
echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload
|
||||
sudo dracut -f
|
||||
fi
|
||||
elif [ "${MACHINE_TYPE}" == 'aarch64' ]; then
|
||||
sudo dnf copr enable secureblue/hardened_malloc -y
|
||||
sudo dnf install hardened_malloc -y
|
||||
fi
|
||||
|
||||
# Setup fwupd
|
||||
|
Loading…
Reference in New Issue
Block a user