diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2013-03-15 14:09:48 +0100 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2013-03-15 14:09:48 +0100 |
commit | 793fdaeafe3cacafd7ccfcec540d46088fb15bdd (patch) | |
tree | 7354e7132df31a3806843d09579cb9b6a46c0c23 /sysctl.conf | |
parent | d43d856ff2c8fd144a0d2030cb4655e7acea6084 (diff) | |
download | initscripts-793fdaeafe3cacafd7ccfcec540d46088fb15bdd.tar initscripts-793fdaeafe3cacafd7ccfcec540d46088fb15bdd.tar.gz initscripts-793fdaeafe3cacafd7ccfcec540d46088fb15bdd.tar.bz2 initscripts-793fdaeafe3cacafd7ccfcec540d46088fb15bdd.tar.xz initscripts-793fdaeafe3cacafd7ccfcec540d46088fb15bdd.zip |
turn on symlink protections in sysctl (#922030)
Diffstat (limited to 'sysctl.conf')
-rw-r--r-- | sysctl.conf | 4 |
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 |