From d55614671e3d1ace60d18cd1f1e51a9c197fd0ff Mon Sep 17 00:00:00 2001 From: Tommaso Chiti Date: Fri, 16 Apr 2021 15:03:17 +0200 Subject: [PATCH] Update easy-arch.sh --- easy-arch.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/easy-arch.sh b/easy-arch.sh index 6b308a2..7b3c884 100644 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -196,16 +196,6 @@ arch-chroot /mnt /bin/bash -e </dev/null - - #Security kernel settings - echo "kernel.kptr_restrict = 2" > /etc/sysctl.d/51-kptr-restrict.conf - echo "kernel.kexec_load_disabled = 1" > /etc/sysctl.d/51-kexec-restrict.conf - echo << EOF >> /etc/sysctl.d/10-security.conf - fs.protected_hardlinks = 1 - fs.protected_symlinks = 1 - net.core.bpf_jit_harden = 2 - kernel.yama.ptrace_scope = 3 - EOF EOF