]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: randomize PIE load address
authorDavid Daney <ddaney.cavm@gmail.com>
Thu, 8 Dec 2011 04:42:27 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Dec 2011 06:43:22 +0000 (17:43 +1100)
... by selecting ARCH_BINFMT_ELF_RANDOMIZE_PIE

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/mips/Kconfig

index 7639c7724300b8b047fc00b49e7365a16da9d28f..825ded9d734409d974ec7fe3cca15395dc79eed5 100644 (file)
@@ -28,6 +28,7 @@ config MIPS
        select HAVE_MEMBLOCK
        select HAVE_MEMBLOCK_NODE_MAP
        select ARCH_DISCARD_MEMBLOCK
+       select ARCH_BINFMT_ELF_RANDOMIZE_PIE
 
 menu "Machine selection"