95 Commits (5763f003a53ddaa63655058f19d9fe662751592d)

Author SHA1 Message Date
Rich Felker e6e8213244 disable MADV_FREE usage in mallocng 4 years ago
Michael Forney d8cb888db9 remove return with expression in void function 5 years ago
Dominic Chen 95a540e176 mallocng/aligned_alloc: check for malloc failure 5 years ago
Rich Felker 9b77aaca86 oldmalloc: preserve errno across free 5 years ago
Rich Felker 98b9df994c fix build regression in oldmalloc 5 years ago
Rich Felker 2010df0d64 preserve errno across free 5 years ago
Ariadne Conill 821083ac7b implement reallocarray 6 years ago
Dominic Chen 5d464f524b fix mallocng regression in malloc_usable_size with null argument 6 years ago
Rich Felker 167390f055 lift child restrictions after multi-threaded fork 6 years ago
Rich Felker 8d37958d58 give libc access to its own malloc even if public malloc is interposed 6 years ago
Rich Felker 503bd39766 import mallocng 6 years ago
Rich Felker 785752a595 add glue code for mallocng merge 6 years ago
Rich Felker fca7428c09 only use memcpy realloc to shrink if an exact-sized free chunk exists 6 years ago
Rich Felker cb5babdc8d fix memset overflow in oldmalloc race fix overhaul 6 years ago
Rich Felker 1fc67fc117 only disable aligned_alloc if malloc was replaced but it wasn't 6 years ago
Rich Felker e9f4fd1185 have ldso track replacement of aligned_alloc 6 years ago
Rich Felker 25cef5c591 reintroduce calloc elison of memset for direct-mmapped allocations 6 years ago
Rich Felker 501a92660c move __malloc_replaced to a top-level malloc file 6 years ago
Rich Felker 28f64fa6ca switch to a common calloc implementation 6 years ago
Rich Felker 384c0131cc move oldmalloc to its own directory under src/malloc 6 years ago
Rich Felker eaa0f24967 move __expand_heap into malloc.c 6 years ago
Rich Felker e07138b880 rename memalign source file back to its proper name 6 years ago
Rich Felker fc18facf6e rename aligned_alloc source file back to its proper name 6 years ago
Rich Felker d1e6fdd367 reverse dependency order of memalign and aligned_alloc 6 years ago
Rich Felker de798308e8 rename aligned_alloc source file 6 years ago
Rich Felker 96490a4aef remove stale document from malloc src directory 6 years ago
Rich Felker c4694f4061 rewrite bump allocator to fix corner cases, decouple from expand_heap 6 years ago
Rich Felker 135c94f097 move malloc_impl.h from src/internal to src/malloc 6 years ago
Rich Felker 3e16313f8f fix unbounded heap expansion race in malloc 6 years ago
Rich Felker 8d81ba8c0b restore lock-skipping for processes that return to single-threaded state 6 years ago
Rich Felker e01b5939b3 don't use libc.threads_minus_1 as relaxed atomic for skipping locks 6 years ago
Rich Felker 5f12ffe123 split internal lock API out of libc.h, creating lock.h 8 years ago
Rich Felker 5ce3737931 reduce spurious inclusion of libc.h 8 years ago
Rich Felker 239c15565f hide dependency-triggering pointer object in malloc_usable_size.c 8 years ago
Rich Felker ef8d45d6c9 rework malloc_usable_size to use malloc_impl.h 8 years ago
Rich Felker b07a5d6698 move __memalign declaration to malloc_impl.h 8 years ago
Rich Felker 55a1c9c890 move declarations for malloc internals to malloc_impl.h 8 years ago
Rich Felker b4b1e10364 reintroduce hardening against partially-replaced allocator 8 years ago
Rich Felker 72141795d4 return chunks split off by memalign using __bin_chunk instead of free 8 years ago
Rich Felker 3c2cbbe7ba using malloc implementation types/macros/idioms for memalign 8 years ago
Rich Felker 23389b1988 move malloc implementation types and macros to an internal header 8 years ago
Rich Felker 618b18c78e revert detection of partially-replaced allocator 8 years ago
Rich Felker c9f415d7ea allow interposition/replacement of allocator (malloc) 8 years ago
Rich Felker 502027540b remove unused __brk function/source file 8 years ago
Rich Felker 14032c30e2 comment __malloc_donate overflow logic 8 years ago
Alexander Monakov ce7ae11acf ldso, malloc: implement reclaim_gaps via __malloc_donate 8 years ago
Alexander Monakov d889cc3463 malloc: fix an over-allocation bug 8 years ago
Alexander Monakov 424eab2225 optimize malloc0 9 years ago
Jens Gustedt 32482f61da revise the definition of multiple basic locks in the code 8 years ago
Alexander Monakov 60ab365cae fix undefined behavior in free 9 years ago