|author||Rich Felker <firstname.lastname@example.org>||2020-11-11 13:08:42 -0500|
|committer||Rich Felker <email@example.com>||2020-11-11 13:31:50 -0500|
convert malloc use under libc-internal locks to use internal allocator
this change lifts undocumented restrictions on calls by replacement mallocs to libc functions that might take these locks, and sets the stage for lifting restrictions on the child execution environment after multithreaded fork. care is taken to #define macros to replace all four functions (malloc, calloc, realloc, free) even if not all of them will be used, using an undefined symbol name for the ones intended not to be used so that any inadvertent future use will be caught at compile time rather than directed to the wrong implementation.
Diffstat (limited to 'src/malloc/oldmalloc')
0 files changed, 0 insertions, 0 deletions