Re: [PATCH] malloc_hook.3: modernize for glibc 2.34
From: Florian Weimer <hidden>
Date: 2021-08-29 12:35:13
* Paul Eggert:
On 8/27/21 4:11 PM, Alejandro Colomar (man-pages) wrote:quoted
All good until here. (Maybe the glibc commit that removed this could go in the commit message, if you know it.)I don't know it, unfortunately.quoted
quoted
quoted
Programmers should instead preempt calls to the relevant functions -by defining and exporting functions such as "malloc" and "free". +by defining and exporting +.BR malloc (), +.BR free (), +.BR realloc (), +and +.BR calloc ().Did this change with glibc 2.34?The glibc manual changed (it started documenting this stuff) but this part of the implementation did not change.
The documentation is somewhat older than 2.34 and was just minimally amended. It's here: Replacing malloc <https://www.gnu.org/software/libc/manual/html_node/Replacing-malloc.html> In particular, it lists additional functions that may have to be interposed due to application use. Thanks, Florian