diff options
author | Will Deacon <will@kernel.org> | 2020-09-28 15:03:00 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-09-29 17:08:17 +0200 |
commit | 780c083a8f840ca9162c7a4090ff5e10d15152a2 (patch) | |
tree | 1af4d1abd14d9882e5ac4cced04406f9ee8a022c /arch/arm64/include/asm/kvm_asm.h | |
parent | arm64: Pull in task_stack_page() to Spectre-v4 mitigation code (diff) | |
download | linux-780c083a8f840ca9162c7a4090ff5e10d15152a2.tar.xz linux-780c083a8f840ca9162c7a4090ff5e10d15152a2.zip |
arm64: Add support for PR_SPEC_DISABLE_NOEXEC prctl() option
The PR_SPEC_DISABLE_NOEXEC option to the PR_SPEC_STORE_BYPASS prctl()
allows the SSB mitigation to be enabled only until the next execve(),
at which point the state will revert back to PR_SPEC_ENABLE and the
mitigation will be disabled.
Add support for PR_SPEC_DISABLE_NOEXEC on arm64.
Reported-by: Anthony Steinhauser <asteinhauser@google.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/kvm_asm.h')
0 files changed, 0 insertions, 0 deletions