diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-04-18 11:08:12 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-04-18 11:48:13 +0200 |
commit | 6807c84652b0b7e2e198e50a9ad47ef41b236e59 (patch) | |
tree | 0a8d8573a6da216f10cae8bdb2c81625f8bf689e /arch/x86/configs/i386_defconfig | |
parent | f51b17c8d90f85456579c3192ab59ee031835634 (diff) |
x86: Enable KASLR by default
KASLR is mature (and important) enough to be enabled by default on x86.
Also enable it by default in the defconfigs.
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Baoquan He <bhe@redhat.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: dan.j.williams@intel.com
Cc: dave.jiang@intel.com
Cc: dyoung@redhat.com
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/configs/i386_defconfig')
-rw-r--r-- | arch/x86/configs/i386_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig index 5fa6ee2c2dde..6cf79e1a6830 100644 --- a/arch/x86/configs/i386_defconfig +++ b/arch/x86/configs/i386_defconfig @@ -57,6 +57,8 @@ CONFIG_EFI=y CONFIG_HZ_1000=y CONFIG_KEXEC=y CONFIG_CRASH_DUMP=y +CONFIG_RANDOMIZE_BASE=y +CONFIG_RANDOMIZE_MEMORY=y # CONFIG_COMPAT_VDSO is not set CONFIG_HIBERNATION=y CONFIG_PM_DEBUG=y |