summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorAndy Lutomirski2019-06-27 06:45:07 +0200
committerThomas Gleixner2019-06-28 00:04:39 +0200
commit625b7b7f79c66626fb2b7687fc1a58309a57edd5 (patch)
treee3f61406aeda2c604bc5cfd18a9fc048ba84011e /arch/x86/Kconfig
parentselftests/x86/vsyscall: Verify that vsyscall=none blocks execution (diff)
downloadkernel-qcow2-linux-625b7b7f79c66626fb2b7687fc1a58309a57edd5.tar.gz
kernel-qcow2-linux-625b7b7f79c66626fb2b7687fc1a58309a57edd5.tar.xz
kernel-qcow2-linux-625b7b7f79c66626fb2b7687fc1a58309a57edd5.zip
x86/vsyscall: Change the default vsyscall mode to xonly
The use case for full emulation over xonly is very esoteric, e.g. magic instrumentation tools. Change the default to the safer xonly mode. Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kees Cook <keescook@chromium.org> Cc: Florian Weimer <fweimer@redhat.com> Cc: Jann Horn <jannh@google.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Kernel Hardening <kernel-hardening@lists.openwall.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lkml.kernel.org/r/30539f8072d2376b9c9efcc07e6ed0d6bf20e882.1561610354.git.luto@kernel.org
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 0182d2c67590..32028edc1b0e 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2285,7 +2285,7 @@ config COMPAT_VDSO
choice
prompt "vsyscall table for legacy applications"
depends on X86_64
- default LEGACY_VSYSCALL_EMULATE
+ default LEGACY_VSYSCALL_XONLY
help
Legacy user code that does not know how to find the vDSO expects
to be able to issue three syscalls by calling fixed addresses in