Thread (1 message) 1 message, 1 author, 2011-11-10

[PATCH 1/2] fs: binfmt_elf: Create Kconfig variable for PIE randomization.

From: hpa@zytor.com (H. Peter Anvin)
Date: 2011-11-10 00:37:43
Also in: linux-fsdevel, linux-mips, lkml

On 11/09/2011 04:32 PM, David Daney wrote:
Randomization of PIE load address is hard coded in binfmt_elf.c for
X86 and ARM.  Create a new Kconfig variable
(CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE) for this and use it instead.
Thus architecture specific policy is pushed out of the generic
binfmt_elf.c and into the architecture Kconfig files.

X86 and ARM Kconfigs are modified to select the new variable so there
is no change in behavior.  A follow on patch will select it for MIPS
too.

Cc: Russell King <redacted>
Cc: Thomas Gleixner <redacted>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86 at kernel.org
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-fsdevel at vger.kernel.org
Signed-off-by: David Daney <redacted>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help