DragonFly BSD
DragonFly commits List (threaded) for 2012-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: rtld: Implement ELF filters (DT_FILTER and DT_AUXILIARY)


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 23 Jan 2012 08:15:10 -0800 (PST)

commit 35b2b265aa300727e840990e41e604edb8b25314
Author: John Marino <draco@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]