aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile/include
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
parent9b5bbf729d2db27ecb477b42c0701c1c97eb5603 (diff)
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')
-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 { \
137 NEW_AUX_ENT(AT_SYSINFO_EHDR, VDSO_BASE); \ 137 NEW_AUX_ENT(AT_SYSINFO_EHDR, VDSO_BASE); \
138} while (0) 138} while (0)
139 139
140struct mm_struct;
141extern unsigned long arch_randomize_brk(struct mm_struct *mm);
142#define arch_randomize_brk arch_randomize_brk
143
140#ifdef CONFIG_COMPAT 144#ifdef CONFIG_COMPAT
141 145
142#define COMPAT_ELF_PLATFORM "tilegx-m32" 146#define COMPAT_ELF_PLATFORM "tilegx-m32"