aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysctl.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysctl.conf b/sysctl.conf
index 8a8f6237..9ab267bd 100644
--- a/sysctl.conf
+++ b/sysctl.conf
@@ -23,3 +23,7 @@ kernel.core_uses_pid = 1
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
+
+# Enable hard and soft link protection
+fs.protected_hardlinks = 1
+fs.protected_symlinks = 1