1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-12-22 23:02:25 -05:00

Add new secureblue Hardened Malloc for RHEL

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-06-09 05:31:16 -07:00
parent 5c7a2850e6
commit 533c8c3e73
Signed by: Tomster
GPG Key ID: 555C902A34EC968F

View File

@ -89,6 +89,12 @@ sudo systemctl enable --now dnf-automatic.timer
# Remove unnecessary packages
sudo dnf remove -y cockpit*
# Install hardened_malloc
sudo dnf copr enable secureblue/hardened_malloc -y
sudo dnf install -y hardened_malloc
echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload
sudo chmod 644 /etc/ld.so.preload
# Install appropriate virtualization drivers
if [ "$virtualization" = 'kvm' ]; then
sudo dnf install -y qemu-guest-agent