From: David Daney Date: Tue, 10 Jan 2012 23:10:22 +0000 (-0800) Subject: MIPS: randomize PIE load address X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e26d196cc88c5436ca93532cabce87dbd8bf49b4;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git MIPS: randomize PIE load address ... by selecting ARCH_BINFMT_ELF_RANDOMIZE_PIE Signed-off-by: David Daney Cc: Russell King Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Alexander Viro Cc: H. Peter Anvin Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index a7636d3ddc6a..c529cfe52c53 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -16,6 +16,7 @@ config MIPS select HAVE_FUNCTION_GRAPH_TRACER select HAVE_KPROBES select HAVE_KRETPROBES + select ARCH_BINFMT_ELF_RANDOMIZE_PIE select RTC_LIB if !MACH_LOONGSON select GENERIC_ATOMIC64 if !64BIT select HAVE_DMA_ATTRS