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 04:10 PM, Joseph Myers wrote:
> On Mon, 23 Jul 2018, Carlos O'Donell wrote:
> 
>> While I like Joseph's idea that we may wish to deploy libmalloc-extras.so as
>> something to aspire to that we can provide as an implementation with it's own
>> ABI, it is *not* what I think we should deploy for 2.28.
> 
> My view is simply that we should provide this in some form for users 
> wishing to use mtrace etc. - not that it should be usable in a more 
> specific way such as by linking instead of interposition.

OK, thank you for the clarification.

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.

Cheers,
Carlos.


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