From: Paul Burton Date: Thu, 11 Sep 2014 07:30:15 +0000 (+0100) Subject: binfmt_elf: load interpreter program headers earlier X-Git-Tag: omap-for-v3.19/fixes-rc1~122^2~132 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9d9ef133f443ae91d2d24594e63714c0b53d09f;p=pandora-kernel.git binfmt_elf: load interpreter program headers earlier Load the program headers of an ELF interpreter early enough in load_elf_binary that they can be examined before it's too late to return an error from an exec syscall. This patch does not perform any such checking, it merely lays the groundwork for a further patch to do so. No functional change is intended. Signed-off-by: Paul Burton Cc: linux-mips@linux-mips.org Cc: Alexander Viro Cc: linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/7675/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed