ELF: Also pass any interpreter's file header to `arch_check_elf'
authorMaciej W. Rozycki <macro@imgtec.com>
Fri, 13 Nov 2015 00:47:48 +0000 (00:47 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 19 Jan 2016 23:39:20 +0000 (00:39 +0100)
commiteb4bc076ff94b82fce04f6db061de597f71bd129
tree4ad6d924adc05ccaa546b7e536b939bfb5b34bdc
parent90d53a91fbd0c5a0882c29fa4279a3d2d700c76d
ELF: Also pass any interpreter's file header to `arch_check_elf'

Also pass any interpreter's file header to `arch_check_elf' so that any
architecture handler can have a look at it if needed.

Signed-off-by: Maciej W. Rozycki <macro@imgtec.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Matthew Fortune <Matthew.Fortune@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11478/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/elf.h
arch/mips/kernel/elf.c
fs/binfmt_elf.c