mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 09:31:34 -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
|
echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload
|
||||||
sudo dracut -f
|
sudo dracut -f
|
||||||
fi
|
fi
|
||||||
|
elif [ "${MACHINE_TYPE}" == 'aarch64' ]; then
|
||||||
|
sudo dnf copr enable secureblue/hardened_malloc -y
|
||||||
|
sudo dnf install hardened_malloc -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
output 'The script is done. You can also remove gnome-terminal since gnome-console will replace it.'
|
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
|
echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload
|
||||||
sudo dracut -f
|
sudo dracut -f
|
||||||
fi
|
fi
|
||||||
|
elif [ "${MACHINE_TYPE}" == 'aarch64' ]; then
|
||||||
|
sudo dnf copr enable secureblue/hardened_malloc -y
|
||||||
|
sudo dnf install hardened_malloc -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setup fwupd
|
# Setup fwupd
|
||||||
|
Loading…
Reference in New Issue
Block a user