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