diff options
author | Nicolas Pitre <nico@fluxnic.net> | 2010-06-14 22:27:19 +0200 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2010-06-15 03:22:11 +0200 |
commit | 990cb8acf23cab19a2930f1ed5e7dc108f89079b (patch) | |
tree | 005c4b9343ae0fac6f9b561ab3c6f3db06fbfce0 /arch/arm/include | |
parent | Linux 2.6.35-rc3 (diff) | |
download | linux-990cb8acf23cab19a2930f1ed5e7dc108f89079b.tar.xz linux-990cb8acf23cab19a2930f1ed5e7dc108f89079b.zip |
[ARM] implement arch_randomize_brk()
For this feature to take effect, CONFIG_COMPAT_BRK must be turned
off. This can safely be turned off for any EABI user space versions.
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/elf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h index 51662feb9f1d..0a96e8c1b82a 100644 --- a/arch/arm/include/asm/elf.h +++ b/arch/arm/include/asm/elf.h @@ -121,4 +121,7 @@ int dump_task_regs(struct task_struct *t, elf_gregset_t *elfregs); extern void elf_set_personality(const struct elf32_hdr *); #define SET_PERSONALITY(ex) elf_set_personality(&(ex)) +extern unsigned long arch_randomize_brk(struct mm_struct *mm); +#define arch_randomize_brk arch_randomize_brk + #endif |