git: ELF - allow execution of shared objects

Alex Hornung alexh at crater.dragonflybsd.org
Tue Sep 1 04:48:23 PDT 2009


commit 08d72226f4cf31025a2510bca580fc07f1434412
Author: Alex Hornung <ahornung at gmail.com>
Date:   Tue Sep 1 10:42:56 2009 +0100

    ELF - allow execution of shared objects
    
    * Allow execution of shared ELF objects by default.
    
    * Add a sysctl kern.elf_exec_dyn, default to 1, to control permission
      to execute shared elf objects.
    
    * Incidentally, this also makes PIE work, at least for basic testcases
      as ncal, whereis, ...
    
    Obtained-from: FreeBSD
    Reported-By: Hasso Tepper

Summary of changes:
 sys/kern/imgact_elf.c |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/08d72226f4cf31025a2510bca580fc07f1434412


-- 
DragonFly BSD source repository





More information about the Commits mailing list