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] malloc: Remove malloc hooks (Bug 23328)


Florian Weimer <fweimer@redhat.com> writes:
> If we support linking against the interposer,

I think we don't, if you mean "ld".

The interposer is pulled in via LD_PRELOAD.  When included, it
interposes the existing malloc API and adds the hook functionality.
Some of the hooks themselves are implemented in the interposer; others
continue to exist in libc.so but are only called (via hooks) by the
interposer.

The interposer doesn't add its own (new) API.


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