Merge pull request #5 from HorlogeSkynet/master

added recommendations from ANSSI
This commit is contained in:
K4YT3X 2021-06-07 17:55:37 -04:00 committed by GitHub
commit 50d77687e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,11 @@ kernel.pid_max = 4194304
# reboot machine after kernel panic
#kernel.panic = 10
# restrict perf subsystem usage
kernel.perf_event_paranoid = 2
kernel.perf_cpu_time_max_percent = 1
kernel.perf_event_max_sample_rate = 1
########## File System ##########
# disallow core dumping by SUID/SGID programs
@ -101,6 +106,9 @@ fs.inotify.max_user_watches = 524288
########## Virtualization ##########
# do not allow mmap in lower addresses
vm.mmap_min_addr = 65536
# improve mmap ASLR effectness
vm.mmap_rnd_bits=32
vm.mmap_rnd_compat_bits=16