summaryrefslogtreecommitdiff
path: root/src/malloc
AgeCommit message (Expand)AuthorLines
2021-04-27remove return with expression in void functionMichael Forney-1/+1
2021-04-16mallocng/aligned_alloc: check for malloc failureDominic Chen-0/+3
2021-01-30oldmalloc: preserve errno across freeRich Felker-0/+4
2021-01-30fix build regression in oldmallocRich Felker-1/+1
2021-01-30preserve errno across freeRich Felker-2/+10
2020-11-30implement reallocarrayAriadne Conill-0/+13
2020-11-29fix mallocng regression in malloc_usable_size with null argumentDominic Chen-0/+1
2020-11-11lift child restrictions after multi-threaded forkRich Felker-2/+36
2020-11-11give libc access to its own malloc even if public malloc is interposedRich Felker-1/+37
2020-06-30import mallocngRich Felker-13/+938
2020-06-29add glue code for mallocng mergeRich Felker-0/+129
2020-06-16only use memcpy realloc to shrink if an exact-sized free chunk existsRich Felker-0/+12
2020-06-16fix memset overflow in oldmalloc race fix overhaulRich Felker-1/+1
2020-06-10only disable aligned_alloc if malloc was replaced but it wasn'tRich Felker-1/+2
2020-06-10have ldso track replacement of aligned_allocRich Felker-0/+1
2020-06-10reintroduce calloc elison of memset for direct-mmapped allocationsRich Felker-1/+14
2020-06-10move __malloc_replaced to a top-level malloc fileRich Felker-2/+3
2020-06-10switch to a common calloc implementationRich Felker-47/+37
2020-06-03move oldmalloc to its own directory under src/mallocRich Felker-0/+0
2020-06-03move __expand_heap into malloc.cRich Felker-73/+64
2020-06-03rename memalign source file back to its proper nameRich Felker-0/+0
2020-06-03rename aligned_alloc source file back to its proper nameRich Felker-0/+0
2020-06-03reverse dependency order of memalign and aligned_allocRich Felker-10/+5
2020-06-03rename aligned_alloc source fileRich Felker-0/+0
2020-06-03remove stale document from malloc src directoryRich Felker-22/+0
2020-06-03rewrite bump allocator to fix corner cases, decouple from expand_heapRich Felker-17/+72
2020-06-02move malloc_impl.h from src/internal to src/mallocRich Felker-0/+43
2020-06-02fix unbounded heap expansion race in mallocRich Felker-152/+87
2020-05-22restore lock-skipping for processes that return to single-threaded stateRich Felker-1/+4
2020-05-22don't use libc.threads_minus_1 as relaxed atomic for skipping locksRich Felker-1/+1
2018-09-12split internal lock API out of libc.h, creating lock.hRich Felker-1/+1
2018-09-12reduce spurious inclusion of libc.hRich Felker-1/+0
2018-09-12hide dependency-triggering pointer object in malloc_usable_size.cRich Felker-2/+2
2018-09-12rework malloc_usable_size to use malloc_impl.hRich Felker-9/+1
2018-09-12move __memalign declaration to malloc_impl.hRich Felker-4/+2
2018-09-12move declarations for malloc internals to malloc_impl.hRich Felker-6/+2
2018-04-19reintroduce hardening against partially-replaced allocatorRich Felker-5/+10
2018-04-19return chunks split off by memalign using __bin_chunk instead of freeRich Felker-7/+5
2018-04-19using malloc implementation types/macros/idioms for memalignRich Felker-20/+22
2018-04-19move malloc implementation types and macros to an internal headerRich Felker-37/+1
2018-04-19revert detection of partially-replaced allocatorRich Felker-15/+6
2018-04-18allow interposition/replacement of allocator (malloc)Rich Felker-23/+30
2018-04-17remove unused __brk function/source fileRich Felker-7/+0
2018-04-17comment __malloc_donate overflow logicRich Felker-0/+3
2018-04-17ldso, malloc: implement reclaim_gaps via __malloc_donateAlexander Monakov-18/+43
2018-04-17malloc: fix an over-allocation bugAlexander Monakov-4/+4
2018-04-11optimize malloc0Alexander Monakov-6/+23
2018-01-09revise the definition of multiple basic locks in the codeJens Gustedt-1/+1
2017-07-04fix undefined behavior in freeAlexander Monakov-2/+3
2017-06-15handle mremap failure in realloc of mmap-serviced allocationsRich Felker-1/+2