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

Wilco Dijkstra <[email protected]> Fri, 31 Jul 2026 13:10:09 +0000
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <PAWPR08MB89828A7F43AE3320454EC8C083C82@PAWPR08MB8982.eurprd08.prod.outlook.com>
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