From 533c8c3e73414bd280a7ce6b059bf3b4888295ed Mon Sep 17 00:00:00 2001 From: Tommy Date: Sun, 9 Jun 2024 05:31:16 -0700 Subject: [PATCH] Add new secureblue Hardened Malloc for RHEL Signed-off-by: Tommy --- RHEL-9.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/RHEL-9.sh b/RHEL-9.sh index 3464321..8767346 100644 --- a/RHEL-9.sh +++ b/RHEL-9.sh @@ -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