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