summaryrefslogtreecommitdiffstats
path: root/debian/99-protect-links.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/99-protect-links.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/99-protect-links.conf b/debian/99-protect-links.conf
new file mode 100644
index 0000000..c86d78c
--- /dev/null
+++ b/debian/99-protect-links.conf
@@ -0,0 +1,10 @@
+###################################################################
+# Protected links
+#
+# Protects against creating or following links under certain conditions
+# Debian kernels have both set to 1 (restricted)
+# See https://www.kernel.org/doc/Documentation/sysctl/fs.txt
+fs.protected_fifos = 1
+fs.protected_hardlinks = 1
+fs.protected_regular = 2
+fs.protected_symlinks = 1