File: protect-links.conf

package info (click to toggle)
procps 2:3.3.16-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 6,196 kB
  • sloc: ansic: 23,019; makefile: 480; exp: 393; sh: 370
file content (10 lines) | stat: -rw-r--r-- 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
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