From: Brian Gerst <brgerst@gmail.com>
To: linux-kernel@vger.kernel.org, x86@kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@kernel.org>, Borislav Petkov <bp@alien8.de>,
"H . Peter Anvin" <hpa@zytor.com>,
Andy Lutomirski <luto@kernel.org>,
Brian Gerst <brgerst@gmail.com>
Subject: [PATCH 0/3] x86: Clean up SYSRET/SYSEXIT validation
Date: Sat, 18 Jul 2020 10:38:36 -0400 [thread overview]
Message-ID: <20200718143839.194960-1-brgerst@gmail.com> (raw)
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
next reply other threads:[~2020-07-18 14:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-18 14:38 Brian Gerst [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200718143839.194960-1-brgerst@gmail.com \
--to=brgerst@gmail.com \
--cc=bp@alien8.de \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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