MIPS: randomize PIE load address
authorDavid Daney <[email protected]>
Tue, 10 Jan 2012 23:10:22 +0000 (15:10 -0800)
committerLinus Torvalds <[email protected]>
Wed, 11 Jan 2012 00:30:51 +0000 (16:30 -0800)
... by selecting ARCH_BINFMT_ELF_RANDOMIZE_PIE

Signed-off-by: David Daney <[email protected]>
Cc: Russell King <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Ralf Baechle <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/mips/Kconfig

index a7636d3ddc6a373f1d4e2329e3b40d31057ab296..c529cfe52c53364ea6f7dafb72daee31e3fd1b3a 100644 (file)
@@ -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