about summary refs log tree commit diff
path: root/etc/sysctl.d/00protected-links.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sysctl.d/00protected-links.conf')
-rw-r--r--etc/sysctl.d/00protected-links.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/sysctl.d/00protected-links.conf b/etc/sysctl.d/00protected-links.conf
new file mode 100644
index 0000000..5e4d7c6
--- /dev/null
+++ b/etc/sysctl.d/00protected-links.conf
@@ -0,0 +1,2 @@
+fs.protected_symlinks = 1
+fs.protected_hardlinks = 1

Consider giving Nix/NixOS a try! <3