]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
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)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 1 Aug 2013 13:31:56 +0000 (14:31 +0100)
commit48be69a026b2c17350a5ef18a1959a919f60be7d
tree684261ce66ecd1e3f53ec1346dfa675a62477d1f
parentf6f91b0d9fd971c630cef908dde8fe8795aefbf8
ARM: move signal handlers into a vdso-like page

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>
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