2 ms·
pthread_atfork functions aren't called if the application calls the clone syscall directly. The right solution is MADV_WIPEONFORK on Linux, or MINHERIT_ZERO on
by agwa 4y ago
pthread_atfork functions aren't called if the application calls the clone syscall directly. The right solution is MADV_WIPEONFORK on Linux, or MINHERIT_ZERO on OpenBSD:
https://www.metzdowd.com/pipermail/cryptography/2017-November/033133.html https://www.metzdowd.com/pipermail/cryptography/2017-Novembe...
- cryptonector 4y agoThat helps with memory mappings, but it doesn't help with file descriptors -- you still have to be careful with those.