git: kernel ELF: Use interpreter paths outside of first page
John Marino
marino at crater.dragonflybsd.org
Thu May 19 13:04:09 PDT 2011
commit 99aed3e43ef052664173110d6db3ddf6a62e375b
Author: John Marino <draco at 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
More information about the Commits
mailing list