Re: [PATCH] [RESEND] i386 and x86_64: randomize brk()

Andrew Morton
2007-10-11T08:26:41Z

On Thu, 11 Oct 2007 01:18:00 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:

> Anyway, I'm presently running with this loveliness:
>
>
> --- a/include/asm-ia64/elf.h~i386-and-x86_64-randomize-brk-2-fix
> +++ a/include/asm-ia64/elf.h
> @@ -249,8 +249,10 @@ do { \
>
> #endif /* __KERNEL__ */
>
> +#endif /* _ASM_IA64_ELF_H */
> +
> +#ifndef IA64_IS_WEIRD
> static inline void arch_randomize_brk(void)
> {
> }
> -
> -#endif /* _ASM_IA64_ELF_H */
> +#endif

err, with the obvious `#define IA64_IS_WEIRD' in there..