implement sysctl-34 - link protection settings
Signed-off-by: rndmh3ro <[email protected]>
This commit is contained in:
1 parent
999e5fa210
commit
346b064682
1 file changed
+10
@@ -290,6 +290,16 @@ sysctl_config:
|
||||
# Mitigates CVE-2021-33909 and other exploits.
|
||||
kernel.unprivileged_userns_clone: 0
|
||||
|
||||
# For more info on the following settings see: https://www.kernel.org/doc/html/latest/admin-guide/sysctl/fs.html
|
||||
# Restrict FIFO special device creation behavior
|
||||
fs.protected_fifos: 1
|
||||
# Restrict hardlink creation behavior
|
||||
fs.protected_hardlinks: 1
|
||||
# Restrict regular files creation behavior
|
||||
fs.protected_regular: 1
|
||||
# Restrict symlink following behavior
|
||||
fs.protected_symlinks: 1
|
||||
|
||||
# Do not delete the following line or otherwise the playbook will fail
|
||||
# at task 'create a combined sysctl-dict if overwrites are defined'
|
||||
sysctl_overwrite:
|
||||
|
||||
Reference in new issue
Block a user