x86/pti: Enable PTI by default

This really want's to be enabled by default. Users who know what they are
doing can disable it either in the config or on the kernel command line.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
This commit is contained in:
Thomas Gleixner 2018-01-03 15:18:44 +01:00
parent 7f414195b0
commit 87faa0d9b4

View File

@ -56,6 +56,7 @@ config SECURITY_NETWORK
config PAGE_TABLE_ISOLATION config PAGE_TABLE_ISOLATION
bool "Remove the kernel mapping in user mode" bool "Remove the kernel mapping in user mode"
default y
depends on X86_64 && !UML depends on X86_64 && !UML
help help
This feature reduces the number of hardware side channels by This feature reduces the number of hardware side channels by