mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] x86: Clean up SYSRET/SYSEXIT validation
@ 2020-07-18 14:38 Brian Gerst
  2020-07-18 14:38 ` [PATCH 1/3] x86-64: Move SYSRET validation code to C Brian Gerst
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Brian Gerst @ 2020-07-18 14:38 UTC (permalink / raw)
  To: linux-kernel, x86
  Cc: Thomas Gleixner, Ingo Molnar, Borislav Petkov, H . Peter Anvin,
	Andy Lutomirski, Brian Gerst

This series cleans up the tests for using the SYSRET or SYSEXIT
instructions on exit from a syscall, moving some code from assembly to C
and merging native and compat tests.

Brian Gerst (3):
  x86-64: Move SYSRET validation code to C
  x86-32: Remove SEP test for SYSEXIT
  x86: Clean up do_fast_syscall_32() tests

 arch/x86/entry/calling.h         |  10 +--
 arch/x86/entry/common.c          | 142 ++++++++++++++++++++-----------
 arch/x86/entry/entry_32.S        |   6 +-
 arch/x86/entry/entry_64.S        |  71 +---------------
 arch/x86/entry/entry_64_compat.S |  13 +--
 arch/x86/include/asm/segment.h   |   1 +
 arch/x86/include/asm/syscall.h   |   4 +-
 7 files changed, 108 insertions(+), 139 deletions(-)


base-commit: bccf9048549afe54b3c6bc8979ebfddea748da85
-- 
2.26.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-18 14:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-18 14:38 [PATCH 0/3] x86: Clean up SYSRET/SYSEXIT validation Brian Gerst
2020-07-18 14:38 ` [PATCH 1/3] x86-64: Move SYSRET validation code to C Brian Gerst
2020-07-18 14:38 ` [PATCH 2/3] x86-32: Remove SEP test for SYSEXIT Brian Gerst
2020-07-18 14:38 ` [PATCH 3/3] x86: Clean up do_fast_syscall_32() tests Brian Gerst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome