mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 01:21:33 -05:00
Use default hardened_malloc variant on Red Hat systems
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
8c362a9999
commit
8889adca80
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user