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

git: kernel: Implement ELF auxinfo entry type AT_EXECPATH


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Apr 2011 13:10:29 -0700 (PDT)

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



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