Module Name: src Committed By: kamil Date: Sat Feb 1 15:38:46 UTC 2020
Modified Files: src/lib/libc/gen: pthread_atfork.c Log Message: Switch atform allocations from malloc()+free() to mmap()+munmap() This avoid bootstrapping malloc too early when libc+libpthread are not ready. It is called through pthread__init() -> _pthread_atfork(). This also helps LLVM Leak Sanitizer to pacify false positive reports. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libc/gen/pthread_atfork.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.