[PATCH 2/2] malloc: aarch64: Add ifuncs for malloc functions

Wilco Dijkstra Wilco.Dijkstra@arm.com
Fri Jul 31 13:10:09 GMT 2026


Hi Andreas,

>> state. One could autoinsert the strdup around strings if a particular setting is enabled.
>
> How is strdup different from malloc?

In that it is both optional and explicit user choice, unlike the malloc
call which can't even be switched off (if it could, the issue with ifuncs
wouldn't be that serious).

Cheers,
Wilco


More information about the Libc-alpha mailing list