lkml.org 
[lkml]   [2020]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] x86: Clean up SYSRET/SYSEXIT validation
Date
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

\
 
 \ /
  Last update: 2020-07-18 16:38    [W:0.073 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site