update non-Android max_map_count recommendation

This commit is contained in:
Daniel Micay 2021-05-13 19:50:26 -04:00
parent 27fcfccb67
commit 050871122b

View File

@ -174,7 +174,7 @@ Make sure to raise `vm.max_map_count` substantially too to accomodate the very
large number of guard pages created by hardened\_malloc. As an example, in large number of guard pages created by hardened\_malloc. As an example, in
`/etc/sysctl.d/hardened_malloc.conf`: `/etc/sysctl.d/hardened_malloc.conf`:
vm.max_map_count = 524240 vm.max_map_count = 1048576
This is unnecessary if you set `CONFIG_GUARD_SLABS_INTERVAL` to a very large This is unnecessary if you set `CONFIG_GUARD_SLABS_INTERVAL` to a very large
value in the build configuration. value in the build configuration.