This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] [BZ #15897] dlfcn: do not mark dlopen/dlclose as leaf functions


On 09/02/2013 10:02 AM, Alexander Monakov wrote:

dlsym needs such treatment as well: it calls calloc internally, which may be
overridden in the same TU (or a malloc hook could be installed).

I don't think that a function that calls malloc cannot be declared as a leaf function. malloc itself is marked as leaf function, after all.

--
Florian Weimer / Red Hat Product Security Team


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]