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)


On 07/23/2018 10:46 PM, Carlos O'Donell wrote:

With that in mind I'll continue to follow a staggered approach:

* A release with libmalloc-extras.so.0 for LD_PRELOAD (2.28)
* Gain experience with libmalloc-extras.so.0 usage (Future)
* Potentially provide a libmalloc-extras.so for direct linking (Future)

The notion of providing an "official" interposer still appeals to me
from the perspective that it can deliver features we would not normally
turn on in regular libc.so.6's malloc API.

Okay, then we should provide a libmalloc-extras.so.0 which is properly isolated (no public internal symbols), has proper symbol versions (matching those of libc.so.6), without default symbol versions.

The current DSO does not use symbol versioning and exports internals such as mtrace_extras_ctor. These things really need to be fixed.

Thanks,
Florian


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