]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] x86_64: Fix stack/mmap randomization for compat tasks
authorAndi Kleen <ak@suse.de>
Tue, 30 May 2006 20:47:45 +0000 (22:47 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 31 May 2006 03:31:05 +0000 (20:31 -0700)
commit6ae53cd496d36db5f25e6f84b8b9fe7e675999a1
tree298b1b2c498c5d8e95954809b9bd3890a92ac0fb
parent3793c65c13e4751c7a10f98198bae1758453eb0e
[PATCH] x86_64: Fix stack/mmap randomization for compat tasks

ia32_setup_arg_pages would ignore the passed in random stack top
and use its own static value.

Now it uses the 8bit of randomness native i386 would use too.

This indirectly fixes mmap randomization for 32bit processes too,
which depends on the stack randomization.

Should also give slightly better virtual cache colouring and
possibly better performance with HyperThreading.

Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/ia32/ia32_binfmt.c
include/asm-x86_64/elf.h