aboutsummaryrefslogtreecommitdiff
path: root/malloc/malloc.c
AgeCommit message (Expand)AuthorFilesLines
2023-04-05cheri: malloc: exact capability check in free/reallocarm/morello/mainSzabolcs Nagy1-11/+13
2022-12-19cheri: malloc: Fix realloc to copy all relevant bytesSzabolcs Nagy1-2/+2
2022-11-22cheri: malloc: Capability narrowing using internal lookup tableSzabolcs Nagy1-15/+152
2022-11-22cheri: malloc: Initial capability narrowing supportSzabolcs Nagy1-8/+172
2022-11-22malloc: Don't use __libc_free for tcache cleanupSzabolcs Nagy1-2/+31
2022-11-22cheri: malloc: Ensure the mappings have RW permissionSzabolcs Nagy1-1/+9
2022-11-22cheri: malloc: align up without breaking capability in memalignSzabolcs Nagy1-2/+1
2022-11-22cheri: malloc: Disable pointer protectionSzabolcs Nagy1-0/+4
2022-07-21malloc: Simplify implementation of __malloc_assertFlorian Weimer1-10/+5
2022-07-05malloc: Simplify checked_request2size interfaceFlorian Weimer1-14/+16
2022-03-23malloc: Fix duplicate inline for do_set_mxfastAdhemerval Zanella1-2/+1
2022-01-01Update copyright dates with scripts/update-copyrightsPaul Eggert1-1/+1
2021-12-16Remove upper limit on tunable MALLOC_MMAP_THRESHOLDPatrick McGehearty1-10/+5
2021-12-15malloc: Enable huge page support on main arenaAdhemerval Zanella1-2/+10
2021-12-15malloc: Move MORECORE fallback mmap to sysmalloc_mmap_fallbackAdhemerval Zanella1-32/+53
2021-12-15malloc: Add Huge Page support to arenasAdhemerval Zanella1-1/+1
2021-12-15malloc: Add Huge Page support for mmapAdhemerval Zanella1-4/+27
2021-12-15malloc: Move mmap logic to its own functionAdhemerval Zanella1-76/+88
2021-12-15malloc: Add THP/madvise support for sbrkAdhemerval Zanella1-5/+29
2021-12-15malloc: Add madvise support for Transparent Huge PagesAdhemerval Zanella1-0/+47
2021-10-29Handle NULL input to malloc_usable_size [BZ #28506]Siddhesh Poyarekar1-16/+9
2021-09-03Remove "Contributed by" linesSiddhesh Poyarekar1-2/+0
2021-07-23Fix build and tests with --disable-tunablesSiddhesh Poyarekar1-25/+26
2021-07-22Move malloc_{g,s}et_state to libc_malloc_debugSiddhesh Poyarekar1-50/+5
2021-07-22glibc.malloc.check: Wean away from malloc hooksSiddhesh Poyarekar1-15/+20
2021-07-22Simplify __malloc_initializedSiddhesh Poyarekar1-12/+12
2021-07-22Move malloc hooks into a compat DSOSiddhesh Poyarekar1-73/+12
2021-07-22Remove __morecore and __default_morecoreSiddhesh Poyarekar1-4/+3
2021-07-22Remove __after_morecore_hookSiddhesh Poyarekar1-21/+1
2021-07-09Force building with -fno-commonFlorian Weimer1-1/+1
2021-07-08_int_realloc is staticSiddhesh Poyarekar1-2/+2
2021-07-08Harden tcache double-free checkSiddhesh Poyarekar1-4/+33
2021-07-02malloc: Initiate tcache shutdown even without allocations [BZ #28028]JeffyChen1-1/+2
2021-06-02fix typoXeonacid1-1/+1
2021-04-12Further fixes for REALLOC_ZERO_BYTES_FREES commentPaul Eggert1-7/+8
2021-04-11Fix REALLOC_ZERO_BYTES_FREES comment to match C17Paul Eggert1-4/+7
2021-03-26malloc: Ensure mtag code path in checked_request2size is coldSzabolcs Nagy1-2/+7
2021-03-26malloc: Remove unnecessary tagging around _mid_memalignSzabolcs Nagy1-8/+2
2021-03-26malloc: Rename chunk2rawmemSzabolcs Nagy1-41/+41
2021-03-26malloc: Use chunk2rawmem throughoutSzabolcs Nagy1-25/+33
2021-03-26malloc: Use different tag after mremapSzabolcs Nagy1-1/+1
2021-03-26malloc: Use memsize instead of CHUNK_AVAILABLE_SIZESzabolcs Nagy1-20/+19
2021-03-26malloc: Use mtag_enabled instead of USE_MTAGSzabolcs Nagy1-6/+4
2021-03-26malloc: Use branches instead of mtag_granule_maskSzabolcs Nagy1-20/+14
2021-03-26malloc: Change calloc when tagging is disabledSzabolcs Nagy1-6/+4
2021-03-26malloc: Only support zeroing and not arbitrary memset with mtagSzabolcs Nagy1-9/+8
2021-03-26malloc: Use global flag instead of function pointer dispatch for mtagSzabolcs Nagy1-20/+38
2021-03-26malloc: Refactor TAG_ macros to avoid indirectionSzabolcs Nagy1-43/+38
2021-03-26malloc: Avoid taggig mmaped memory on freeSzabolcs Nagy1-3/+4
2021-03-26malloc: Move MTAG_MMAP_FLAGS definitionSzabolcs Nagy1-0/+2