From 050871122b375f5cb162d302381a330f26cbe2a7 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 13 May 2021 19:50:26 -0400 Subject: [PATCH] update non-Android max_map_count recommendation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b667b1..395b94e 100644 --- a/README.md +++ b/README.md @@ -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 `/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 value in the build configuration.