From 793fdaeafe3cacafd7ccfcec540d46088fb15bdd Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Fri, 15 Mar 2013 14:09:48 +0100 Subject: turn on symlink protections in sysctl (#922030) --- sysctl.conf | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1