add glue code for mallocng merge
authorRich Felker <dalias@aerifal.cx>
Mon, 29 Jun 2020 21:41:24 +0000 (17:41 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 29 Jun 2020 21:42:53 +0000 (17:42 -0400)
commit785752a595ddd382396363f8aa237d1246ed5764
treeefb33e55bfe427ba666832a032c53cff0c131544
parentfdf8b2ad9c5ae6adf3a91c0043eb898badee46d1
add glue code for mallocng merge

this includes both an implementation of reclaimed-gap donation from
ldso and a version of mallocng's glue.h with namespace-safe linkage to
underlying syscalls, integration with AT_RANDOM initialization, and
internal locking that's optimized out when the process is
single-threaded.
src/malloc/mallocng/README.mallocng [new file with mode: 0644]
src/malloc/mallocng/donate.c [new file with mode: 0644]
src/malloc/mallocng/glue.h [new file with mode: 0644]