From: Ben Hutchings Date: Sun, 7 Sep 2014 20:05:05 +0000 (+0100) Subject: x86: Reject x32 executables if x32 ABI not supported X-Git-Tag: fixes-against-v3.18-rc2~85^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e6d3112a4e95d55cf6dca88f298d5f4b8f29bd1;p=pandora-kernel.git x86: Reject x32 executables if x32 ABI not supported It is currently possible to execve() an x32 executable on an x86_64 kernel that has only ia32 compat enabled. However all its syscalls will fail, even _exit(). This usually causes it to segfault. Change the ELF compat architecture check so that x32 executables are rejected if we don't support the x32 ABI. Signed-off-by: Ben Hutchings Link: http://lkml.kernel.org/r/1410120305.6822.9.camel@decadent.org.uk Cc: stable@vger.kernel.org Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed