File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,10 @@ net.ipv4.tcp_sack = 0
113113net.ipv4.tcp_dsack = 0
114114
115115# Improve ALSR effectiveness for mmap.
116+ # vm.mmap_min_addr = 65536 is the already the default in Fedora.
116117vm.mmap_rnd_bits = 32
117118vm.mmap_rnd_compat_bits = 16
119+ vm.mmap_min_addr = 65536
118120
119121# https://madaidans-insecurities.github.io/guides/linux-hardening.html#sysctl-kernel
120122# Restrict userfaultfd to CAP_SYS_PTRACE.
Original file line number Diff line number Diff line change @@ -114,8 +114,10 @@ net.ipv4.tcp_sack = 0
114114net.ipv4.tcp_dsack = 0
115115
116116# Improve ALSR effectiveness for mmap.
117+ # vm.mmap_min_addr = 65536 is the already the default in Fedora.
117118vm.mmap_rnd_bits = 32
118119vm.mmap_rnd_compat_bits = 16
120+ vm.mmap_min_addr = 65536
119121
120122# https://madaidans-insecurities.github.io/guides/linux-hardening.html#sysctl-kernel
121123# Restrict userfaultfd to CAP_SYS_PTRACE.
You can’t perform that action at this time.
0 commit comments