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
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