PATCH: Make STT_GNU_IFUNC symbol dynamic

Ulrich Drepper drepper@redhat.com
Sun May 24 21:23:00 GMT 2009


-----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-----



More information about the Libc-alpha mailing list