[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200616142315.375918-1-brgerst@gmail.com>
Date: Tue, 16 Jun 2020 10:23:13 -0400
From: Brian Gerst <brgerst@...il.com>
To: linux-kernel@...r.kernel.org, x86@...nel.org
Cc: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...nel.org>, Borislav Petkov <bp@...en8.de>,
"H . Peter Anvin" <hpa@...or.com>,
Andy Lutomirski <luto@...nel.org>,
Christoph Hellwig <hch@....de>, Arnd Bergmann <arnd@...db.de>,
Brian Gerst <brgerst@...il.com>
Subject: [PATCH 0/2] X32 syscall cleanups
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
Powered by blists - more mailing lists