diff --git a/security/hardened_malloc.adoc b/security/hardened_malloc.adoc index 548459f..c7905a3 100644 --- a/security/hardened_malloc.adoc +++ b/security/hardened_malloc.adoc @@ -1,6 +1,6 @@ = GrapheneOS hardened_malloc -Version: 0.1.0.9 +Version: 0.1.0.10 This documentation contains instructions to use @@ -29,10 +29,15 @@ of guard pages. `$ make ` `CONFIG_N_ARENA=n` can be adjusted to increase parallel performance at the expense of memory usage, -or decrease memory usage at the expense of parallel performance, where `n` is an integer; higher -values prefer parallel performance, lower values prefer lower memory usage. For low-memory systems, -`VARIANT=light` can be used to compile the light variant of hardened_malloc, which sacrifices some -security for much less memory usage. +or decrease memory usage at the expense of parallel performance, where `n` is an integer. Higher +values prefer parallel performance, lower values prefer lower memory usage. The number of arenas has +no impact on the security properties of hardened_malloc. + +* Minimum number of arenas: 1 +* Maximum number of arenas: 256 + +For low-memory systems, `VARIANT=light` can be used to compile the light variant of hardened_malloc, +which sacrifices some security for much less memory usage. == Copy Compiled hardened_malloc Library