diff options
author | Tony Lu <zlu@tilera.com> | 2013-08-09 19:45:24 (GMT) |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-30 15:56:25 (GMT) |
commit | b2eca4274c1813c76291eab4859ca3e86e6fd35b (patch) | |
tree | ad4e951e630cb4fa4ff5e6cf484ba9cab9e466d1 /arch/tile/include/asm/elf.h | |
parent | 9b5bbf729d2db27ecb477b42c0701c1c97eb5603 (diff) | |
download | linux-b2eca4274c1813c76291eab4859ca3e86e6fd35b.tar.xz |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/tile/include/asm/elf.h b/arch/tile/include/asm/elf.h index 31d854f..e1da88e 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" |