git: rtld: Implement ELF filters (DT_FILTER and DT_AUXILIARY)
John Marino
marino at crater.dragonflybsd.org
Mon Jan 23 08:15:10 PST 2012
commit 35b2b265aa300727e840990e41e604edb8b25314
Author: John Marino <draco at marino.st>
Date: Sat Jan 21 18:31:30 2012 +0100
rtld: Implement ELF filters (DT_FILTER and DT_AUXILIARY)
Filtrees are loaded on demand unless LD_LOADFLTR environment variable is
set or -z loadfltr was specified during the linking. This forces rtld
to upgrade read-locked rtld_bind_lock to write lock when it encounters an
object with filter during symbol lookup.
Consolidate common arguments of the symbol lookup functions in the SymLook
structure.
Taken-from: FreeBSD SVN 216728 (27 DEC 2010)
Summary of changes:
libexec/rtld-elf/i386/reloc.c | 48 ++--
libexec/rtld-elf/rtld.1 | 10 +-
libexec/rtld-elf/rtld.c | 604 ++++++++++++++++++++++++++-------------
libexec/rtld-elf/rtld.h | 44 +++-
libexec/rtld-elf/x86_64/reloc.c | 46 ++--
5 files changed, 511 insertions(+), 241 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/35b2b265aa300727e840990e41e604edb8b25314
--
DragonFly BSD source repository
More information about the Commits
mailing list