]> Git Repo - linux.git/commit - arch/arm/kernel/process.c
ARM: 8155/1: place sigpage at a random offset above stack
authorNathan Lynch <[email protected]>
Mon, 22 Sep 2014 21:12:35 +0000 (22:12 +0100)
committerRussell King <[email protected]>
Fri, 26 Sep 2014 13:40:01 +0000 (14:40 +0100)
commit389522b0c0530658eb9f9a53410ec2494616d785
tree3396e343bf52ab5170d6dda500e053cfde8373c6
parent02e0409a65560da66a747d2ac6023715b04659ea
ARM: 8155/1: place sigpage at a random offset above stack

The sigpage is currently placed alongside shared libraries etc in the
address space.  Similar to what x86_64 does for its VDSO, place the
sigpage at a randomized offset above the stack so that learning the
base address of the sigpage doesn't help expose where shared libraries
are loaded in the address space (and vice versa).

Signed-off-by: Nathan Lynch <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Russell King <[email protected]>
arch/arm/kernel/process.c
This page took 0.056814 seconds and 4 git commands to generate.