x86/syscalls: Disallow compat entries for all types of 64-bit syscalls
authorAndy Lutomirski <luto@kernel.org>
Wed, 3 Jul 2019 20:34:03 +0000 (13:34 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 22 Jul 2019 08:31:22 +0000 (10:31 +0200)
commitf85a8573ceb225e606fcf38a9320782316f47c71
treeafe686274467678788337a7c2872028ac777ae81
parenta8d03c3f300eefff3b5c14798409e4b43e37dd9b
x86/syscalls: Disallow compat entries for all types of 64-bit syscalls

A "compat" entry in the syscall tables means to use a different entry on
32-bit and 64-bit builds.

This only makes sense for syscalls that exist in the first place in 32-bit
builds, so disallow it for anything other than i386.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/4b7565954c5a06530ac01d98cb1592538fd8ae51.1562185330.git.luto@kernel.org
arch/x86/entry/syscalls/syscalltbl.sh