[PATCH 0/4] Avoid malloc symbol interposition in the dynamic loader [BZ #25486]

Carlos O'Donell codonell@redhat.com
Fri Feb 14 22:36:00 GMT 2020


On 2/8/20 2:00 PM, Florian Weimer wrote:
> I initially wanted to close this bug, but Carlos suggested to treat it
> as an RFE.  The changes seem a net improvement to me.
> 
> This does not completely resolve the issue because we use symbol
> interposition for other, more obscure things.
> 
> Florian Weimer (4):
>   elf: Introduce the rtld-stubbed-symbols makefile variable
>   elf: Extract _dl_sym_post, _dl_sym_find_caller_map from elf/dl-sym.c
>   Remove weak declaration of free from <inline-hashtab.h>
>   ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486]

Thank you for the cleanup and improvement!

Overall the architecture of the design looks good to me.

I really like the new explicit handover!

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list