mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-08 03:01:34 -05:00
Add new secureblue Hardened Malloc for RHEL
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
5c7a2850e6
commit
533c8c3e73
@ -89,6 +89,12 @@ sudo systemctl enable --now dnf-automatic.timer
|
|||||||
# Remove unnecessary packages
|
# Remove unnecessary packages
|
||||||
sudo dnf remove -y cockpit*
|
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
|
# Install appropriate virtualization drivers
|
||||||
if [ "$virtualization" = 'kvm' ]; then
|
if [ "$virtualization" = 'kvm' ]; then
|
||||||
sudo dnf install -y qemu-guest-agent
|
sudo dnf install -y qemu-guest-agent
|
||||||
|
Loading…
Reference in New Issue
Block a user