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: Should glibc be fully reentrant? What do we allow interposed symbols to do?


On Fri, 2014-10-24 at 11:25 -0400, Carlos O'Donell wrote:
> On 10/24/2014 05:31 AM, Torvald Riegel wrote:
> >> Allow interposed functions to call back into the runtime, and fix any
> >> places where this breaks.
> > 
> > As worded, I do not agree.  IMHO, this should be opt-in.  It may very
> > well be that we'd want an opt-in for large sets of functionality, but
> > I'd be concerned about promising support for this *in general*.
> 
> I concede. You make a good point.
> 
> How do we opt-in? Add a new safety annotation? Re-entrant?

I don't know.  An annotation would be part of it I guess, but I'm not
sure whether we'd put it on the interposed function, or on the function
that you are allowed to call from the hooks.


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