diff --git a/documentation/hardened_malloc.xhtml b/documentation/hardened_malloc.xhtml index 6f34394..8b45037 100644 --- a/documentation/hardened_malloc.xhtml +++ b/documentation/hardened_malloc.xhtml @@ -1,7 +1,7 @@ - + @@ -62,8 +62,8 @@

Increase Permitted Amount of Memory Pages

-

Add the following to /etc/sysctl.conf to accommodate - hardened_malloc's large amount of guard pages:

+

Add the following to /etc/sysctl.conf or a configuration file within + /etc/sysctl.d/to accommodate hardened_malloc's large amount of guard pages:

vm.max_map_count = 1048576
@@ -122,7 +122,8 @@

Set System to Preload hardened_malloc on Boot

-

musl-based systems: Add the following to /etc/environment:

+

musl-based systems: Add the following to /etc/environment or a configuration + file within /etc/environment.d/:

LD_PRELOAD=/usr/local/lib/libhardened_malloc.so

glibc-based systems: Add the following to /etc/ld.so.preload:

/usr/local/lib/libhardened_malloc.so