linux/arch/arm
David Daney e39f560239 fs: binfmt_elf: create Kconfig variable for PIE randomization
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.

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>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-10 16:30:51 -08:00
..
boot power management changes for omap and imx 2012-01-09 14:39:59 -08:00
common
configs New feature development 2012-01-09 14:38:51 -08:00
include/asm Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm 2012-01-08 13:10:57 -08:00
kernel
lib
mach-at91
mach-bcmring
mach-clps711x
mach-cns3xxx
mach-davinci New feature development 2012-01-09 14:38:51 -08:00
mach-dove New feature development 2012-01-09 14:38:51 -08:00
mach-ebsa110
mach-ep93xx
mach-exynos Driver specific changes 2012-01-09 14:39:22 -08:00
mach-footbridge
mach-gemini
mach-h720x
mach-highbank
mach-imx power management changes for omap and imx 2012-01-09 14:39:59 -08:00
mach-integrator
mach-iop13xx
mach-iop32x
mach-iop33x
mach-ixp4xx
mach-ixp23xx
mach-ixp2000
mach-kirkwood New feature development 2012-01-09 14:38:51 -08:00
mach-ks8695
mach-l7200/include/mach
mach-lpc32xx
mach-mmp Merge branch 'samsung/driver' into next/drivers 2012-01-09 16:16:29 +00:00
mach-msm timer changes for msm 2012-01-09 14:40:48 -08:00
mach-mv78xx0 New feature development 2012-01-09 14:38:51 -08:00
mach-mx5 power management changes for omap and imx 2012-01-09 14:39:59 -08:00
mach-mxs clock management changes for i.MX 2012-01-09 14:44:15 -08:00
mach-netx
mach-nomadik
mach-omap1 New feature development 2012-01-09 14:38:51 -08:00
mach-omap2 power management changes for omap and imx 2012-01-09 14:39:59 -08:00
mach-orion5x New feature development 2012-01-09 14:38:51 -08:00
mach-picoxcell New feature development 2012-01-09 14:38:51 -08:00
mach-pnx4008
mach-prima2
mach-pxa Driver specific changes 2012-01-09 14:39:22 -08:00
mach-realview
mach-rpc
mach-s3c64xx Board-level changes 2012-01-09 14:37:41 -08:00
mach-s3c2410 Device tree conversions for samsung and tegra 2012-01-09 14:28:38 -08:00
mach-s3c2412 Device tree conversions for samsung and tegra 2012-01-09 14:28:38 -08:00
mach-s3c2416 Cleanups for the Samsung platforms 2012-01-09 14:30:28 -08:00
mach-s3c2440 Board-level changes 2012-01-09 14:37:41 -08:00
mach-s3c2443
mach-s5p64x0 Driver specific changes 2012-01-09 14:39:22 -08:00
mach-s5pc100 Cleanups for the Samsung platforms 2012-01-09 14:30:28 -08:00
mach-s5pv210 Cleanups for the Samsung platforms 2012-01-09 14:30:28 -08:00
mach-sa1100 Merge branch 'samsung/driver' into next/drivers 2012-01-09 16:16:29 +00:00
mach-shark
mach-shmobile Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm 2012-01-08 13:10:57 -08:00
mach-spear3xx
mach-spear6xx
mach-tegra Board-level changes 2012-01-09 14:37:41 -08:00
mach-u300 Cleanups on various subarchitectures 2012-01-09 14:21:03 -08:00
mach-ux500 New feature development 2012-01-09 14:38:51 -08:00
mach-versatile
mach-vexpress
mach-vt8500
mach-w90x900
mach-zynq
mm
nwfpe
oprofile
plat-iop
plat-mxc power management changes for omap and imx 2012-01-09 14:39:59 -08:00
plat-nomadik
plat-omap power management changes for omap and imx 2012-01-09 14:39:59 -08:00
plat-orion New feature development 2012-01-09 14:38:51 -08:00
plat-pxa
plat-s3c24xx Cleanups for the Samsung platforms 2012-01-09 14:30:28 -08:00
plat-s5p
plat-samsung Driver specific changes 2012-01-09 14:39:22 -08:00
plat-spear
plat-versatile
tools
vfp
Kconfig fs: binfmt_elf: create Kconfig variable for PIE randomization 2012-01-10 16:30:51 -08:00
Kconfig-nommu
Kconfig.debug
Makefile