]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
MIPS: Enable heap randomization.
authorDavid Daney <ddaney@caviumnetworks.com>
Mon, 19 Jul 2010 20:14:57 +0000 (13:14 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:26:06 +0000 (13:26 +0100)
commit652b14aa84961fa391184ccbaf559a537d33b28c
tree748ba20efa1094728a85fe4d59d01ccbd6e1bfad
parent1091458d09e1a0788268578001f279250d2c0844
MIPS: Enable heap randomization.

Based somewhat on the PPC implementation.

32-bit processes have the heap randomized in an 8MB space, 256MB for
64-bit processes.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1479/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/elf.h
arch/mips/kernel/syscall.c