Skip to content

X32 syscall cleanups

Brian Gerst lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/x32: Use __x64 prefix for X32 compat syscallsarch/x86/entry/syscall_x32.c arch/x86/include/asm/syscall_wrapper.h+8 -103 replies
2/2x86/x32: Convert x32_rt_sigreturn to native syscallarch/x86/entry/syscalls/syscall_64.tbl arch/x86/kernel/signal.c tools/perf/arch/x86/entry/syscalls/syscall_64.tbl+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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

Signature · 1 line
2.26.2