[PATCH 0/2] X32 syscall cleanups

From: Brian Gerst
Date: Tue Jun 16 2020 - 10:23:32 EST


Christoph Hellwig uncovered an issue with how we currently handle X32
syscalls. Currently, we can only use COMPAT_SYS_DEFINEx() for X32
specific syscalls. These changes remove that restriction and allow
native syscalls.

Brian Gerst (2):
x86/x32: Use __x64 prefix for X32 compat syscalls
x86/x32: Convert x32_rt_sigreturn to native syscall

arch/x86/entry/syscall_x32.c | 8 +++-----
arch/x86/entry/syscalls/syscall_64.tbl | 2 +-
arch/x86/include/asm/syscall_wrapper.h | 10 +++++-----
arch/x86/kernel/signal.c | 2 +-
tools/perf/arch/x86/entry/syscalls/syscall_64.tbl | 2 +-
5 files changed, 11 insertions(+), 13 deletions(-)


base-commit: 83cdaef93988a6bc6875623781de571b2694fe02
--
2.26.2