From 8889adca80a2ba55a4e4247b17d2b54caa2c18f1 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 27 Feb 2024 00:08:28 -0700 Subject: [PATCH] Use default hardened_malloc variant on Red Hat systems Signed-off-by: Tommy --- Fedora-Workstation-39.sh | 1 + RHEL-Server-9.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/Fedora-Workstation-39.sh b/Fedora-Workstation-39.sh index 424b56e..e345163 100644 --- a/Fedora-Workstation-39.sh +++ b/Fedora-Workstation-39.sh @@ -220,6 +220,7 @@ if [ "$virt_type" = '' ] || [ "${MACHINE_TYPE}" == 'x86_64' ]; then else sudo dnf config-manager --save --setopt=divested.includepkgs=divested-release,real-ucode,microcode_ctl,amd-ucode-firmware,hardened_malloc sudo dnf install real-ucode hardened_malloc -y + echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload sudo dracut -f fi fi diff --git a/RHEL-Server-9.sh b/RHEL-Server-9.sh index b7b5bc8..bce5ba8 100644 --- a/RHEL-Server-9.sh +++ b/RHEL-Server-9.sh @@ -210,6 +210,7 @@ if [ "$virt_type" = '' ] || [ "${MACHINE_TYPE}" == 'x86_64' ]; then else sudo dnf config-manager --save --setopt=divested.includepkgs=divested-release,real-ucode,microcode_ctl,amd-ucode-firmware,hardened_malloc sudo dnf install real-ucode hardened_malloc -y + echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload sudo dracut -f fi fi