1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-09-07 16:23:30 -04:00

Add ARM support for hardened_malloc on Red Hat systems

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-03-05 14:20:13 -07:00
parent 8889adca80
commit 80bb7c00d8
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
2 changed files with 6 additions and 0 deletions

View File

@ -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.'

View File

@ -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