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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoZd2IACgkQ2ijCOnn/RHSk7gCdE3Y0+Lc9y2+6w0Httdjs1PjB
LRYAmwZNGKjcEVfxxOYAONWU+P18TEiA
=GJaG
-----END PGP SIGNATURE-----


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