git: kernel: Implement ELF auxinfo entry type AT_EXECPATH

John Marino marino at crater.dragonflybsd.org
Thu Apr 28 13:11:54 PDT 2011


commit adc42cf35b64fcc5e902e062955772f363e1ec58
Author: John Marino <draco at marino.st>
Date:   Sat Apr 23 21:44:10 2011 +0200

    kernel: Implement ELF auxinfo entry type AT_EXECPATH
    
    Refer to issue 2005.
    The new RTLD can optionally use AT_EXECPATH for some of its new
    functionality such as libmap.conf and dynamic token expansion.
    In the absence of this kernel support, RTLD has a fallback
    mechanism that works most of the time, but using it takes a
    performance hit.
    
    This patch was tested for some time by various people prior to
    the 2.10 branch being created.

Summary of changes:
 sys/kern/imgact_elf.c |    2 ++
 sys/kern/kern_exec.c  |   37 +++++++++++++++++++++++++++++++++++--
 sys/sys/imgact.h      |    3 +++
 3 files changed, 40 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/adc42cf35b64fcc5e902e062955772f363e1ec58


-- 
DragonFly BSD source repository





More information about the Commits mailing list