PATCH: Make STT_GNU_IFUNC symbol dynamic

Petr Baudis pasky@suse.cz
Sun May 24 21:23:00 GMT 2009


On Sun, May 24, 2009 at 09:35:46AM -0700, Ulrich Drepper wrote:
> Petr Baudis wrote:
> > But you don't make the choice as the user programmer - the library maker
> > does.
> 
> And /she shouldn't use IFUNC if this is an issue.
> 
> 
> > And I don't think such an interface would be complex at all, would
> > it?
> 
> No, it _is_ complex.  And a security problem.  The GOT section which
> will have to be modified should after the relocation be made read-only.
>  Any reset interface would have to undo that and invite an attack.

Good point, I didn't think of that. Thanks for the explanation!

-- 
				Petr "Pasky" Baudis
The lyf so short, the craft so long to lerne. -- Chaucer



More information about the Libc-alpha mailing list