Skip to content

x86/pti-ish syscall cleanups

Andy Lutomirski kernel-hardening lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/entry/64: Remove the SYSCALL64 fast patharch/x86/entry/entry_64.S arch/x86/entry/syscall_64.c+9 -1251 reply
2/3x86/asm: Move 'status' from thread_struct to thread_infoarch/x86/entry/common.c arch/x86/include/asm/processor.h arch/x86/include/asm/syscall.h +4 more+11 -122 replies
3/3syscalls: Add a bit of documentation to __SYSCALL_DEFINEinclude/linux/syscalls.h+10 -06 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchIngo Molnar
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [kernel-hardening] [PATCH 0/3] x86/pti-ish syscall cleanups

Three changes in here:
- Get rid of the SYSCALL64 fast path as suggested by Linus.

- Move TS_COMPAT into the same cacheline as thread_info::flags, also suggested by Linus.

- Document SYSCALL_DEFINE a bit better.

Andy Lutomirski (3):
x86/entry/64: Remove the SYSCALL64 fast path x86/asm: Move 'status' from thread_struct to thread_info
syscalls: Add a bit of documentation to __SYSCALL_DEFINE

 arch/x86/entry/common.c            |   4 +-
 arch/x86/entry/entry_64.S          | 127 ++-----------------------------------
 arch/x86/entry/syscall_64.c        |   7 +-
 arch/x86/include/asm/processor.h   |   2 -
 arch/x86/include/asm/syscall.h     |   6 +-
 arch/x86/include/asm/thread_info.h |   3 +-
 arch/x86/kernel/process_64.c       |   4 +-
 arch/x86/kernel/ptrace.c           |   2 +-
 arch/x86/kernel/signal.c           |   2 +-
 include/linux/syscalls.h           |  10 +++
 10 files changed, 30 insertions(+), 137 deletions(-)
Signature · 1 line
2.14.3