This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Make STT_GNU_IFUNC symbol dynamic


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


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