x86/vsyscall: Change the default vsyscall mode to xonly
authorAndy Lutomirski <luto@kernel.org>
Thu, 27 Jun 2019 04:45:07 +0000 (21:45 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 27 Jun 2019 22:04:39 +0000 (00:04 +0200)
commit625b7b7f79c66626fb2b7687fc1a58309a57edd5
treee3f61406aeda2c604bc5cfd18a9fc048ba84011e
parentb0386979867168575118501104f3d135067eab4f
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
arch/x86/Kconfig