ARM: move signal handlers into a vdso-like page
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 23 Jul 2013 23:29:18 +0000 (00:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 01:35:20 +0000 (18:35 -0700)
commita5510daad56d3b9738d475957750db9d4fc607a9
tree43e5fbb3c27c4117a29e0fd3e2b1a4a99c843431
parent7c5db81779e0ab75fc2d71397911c546046f922f
ARM: move signal handlers into a vdso-like page

commit 48be69a026b2c17350a5ef18a1959a919f60be7d upstream.

Move the signal handlers into a VDSO page rather than keeping them in
the vectors page.  This allows us to place them randomly within this
page, and also map the page at a random location within userspace
further protecting these code fragments from ROP attacks.  The new
VDSO page is also poisoned in the same way as the vector page.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/include/asm/elf.h
arch/arm/include/asm/mmu.h
arch/arm/kernel/process.c
arch/arm/kernel/signal.c
arch/arm/kernel/signal.h [deleted file]
arch/arm/kernel/traps.c