summaryrefslogtreecommitdiffstats
path: root/arch/tile/include/asm/elf.h
diff options
context:
space:
mode:
authorTony Lu <zlu@tilera.com>2013-08-09 15:45:24 -0400
committerChris Metcalf <cmetcalf@tilera.com>2013-08-30 11:56:25 -0400
commitb2eca4274c1813c76291eab4859ca3e86e6fd35b (patch)
treead4e951e630cb4fa4ff5e6cf484ba9cab9e466d1 /arch/tile/include/asm/elf.h
parent9b5bbf729d2db27ecb477b42c0701c1c97eb5603 (diff)
downloadtalos-obmc-linux-b2eca4274c1813c76291eab4859ca3e86e6fd35b.tar.gz
talos-obmc-linux-b2eca4274c1813c76291eab4859ca3e86e6fd35b.zip
tile: support ASLR fully
With this change, tile Linux now supports address-space layout randomization for shared objects, stack, heap and vdso. Acked-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Tony Lu <zlu@tilera.com> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/include/asm/elf.h')
-rw-r--r--arch/tile/include/asm/elf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/tile/include/asm/elf.h b/arch/tile/include/asm/elf.h
index 31d854f1b83b..e1da88e8aa9f 100644
--- a/arch/tile/include/asm/elf.h
+++ b/arch/tile/include/asm/elf.h
@@ -137,6 +137,10 @@ do { \
NEW_AUX_ENT(AT_SYSINFO_EHDR, VDSO_BASE); \
} while (0)
+struct mm_struct;
+extern unsigned long arch_randomize_brk(struct mm_struct *mm);
+#define arch_randomize_brk arch_randomize_brk
+
#ifdef CONFIG_COMPAT
#define COMPAT_ELF_PLATFORM "tilegx-m32"
OpenPOWER on IntegriCloud