Resource leaks - ligurio/openbsd-tests GitHub Wiki
How to use malloc options
OpenBSD 6.5:
vm.malloc_confsysctl
sysctlvm.malloc_conf=CFGJSUX
Will enable system-wide malloc options, works with chroot and unveil
- MALLOC_OPTIONS environment variable
char *malloc_options
variable in program
If you can’t run them all the time, at least run them with your test suite:
MALLOC_OPTIONS=CFGJSUX ./run-tests.sh