summaryrefslogtreecommitdiff
path: root/fs/sysfs
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2014-09-07 21:05:05 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-14 08:47:54 -0800
commit6507b92a66c9551b0555edc5a92e27027c3b990e (patch)
tree0f47b56f7f4ffee1800d54b965019bb884779df7 /fs/sysfs
parent6cbdf1151168e44f93866f6af751442b937f8989 (diff)
downloadlinux-3.10-6507b92a66c9551b0555edc5a92e27027c3b990e.tar.gz
linux-3.10-6507b92a66c9551b0555edc5a92e27027c3b990e.tar.bz2
linux-3.10-6507b92a66c9551b0555edc5a92e27027c3b990e.zip
x86: Reject x32 executables if x32 ABI not supported
commit 0e6d3112a4e95d55cf6dca88f298d5f4b8f29bd1 upstream. 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 Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions