diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2014-09-07 21:05:05 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-10-08 11:17:42 +0200 |
commit | 0e6d3112a4e95d55cf6dca88f298d5f4b8f29bd1 (patch) | |
tree | 586843c4369dfd16f9db8df6912b6956488b910f /arch/x86/tools/distill.awk | |
parent | 8c7aa698baca5e8f1ba9edb68081f1e7a1abf455 (diff) | |
download | blackbird-op-linux-0e6d3112a4e95d55cf6dca88f298d5f4b8f29bd1.tar.gz blackbird-op-linux-0e6d3112a4e95d55cf6dca88f298d5f4b8f29bd1.zip |
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 <ben@decadent.org.uk>
Link: http://lkml.kernel.org/r/1410120305.6822.9.camel@decadent.org.uk
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/tools/distill.awk')
0 files changed, 0 insertions, 0 deletions