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

git: kernel ELF: Use interpreter paths outside of first page


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 19 May 2011 13:02:54 -0700 (PDT)

commit 99aed3e43ef052664173110d6db3ddf6a62e375b
Author: John Marino <draco@marino.st>
Date:   Thu May 19 21:54:27 2011 +0200

    kernel ELF: Use interpreter paths outside of first page
    
    The ELF handler was returning ENOEXEC error whenever it encountered a
    binary with an interpreter program header located outside of the first
    page.  This patch allows these binaries to execute normally.
    
    Additionally, the handler will now ignore subsequent interpreter headers
    encountered.  Before it would overwrite the previous pointer it had
    stored.

Summary of changes:
 sys/kern/imgact_elf.c |   97 +++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 89 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/99aed3e43ef052664173110d6db3ddf6a62e375b


-- 
DragonFly BSD source repository



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