diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-07-24 01:29:18 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-08-01 15:31:56 +0200 |
commit | 48be69a026b2c17350a5ef18a1959a919f60be7d (patch) | |
tree | 684261ce66ecd1e3f53ec1346dfa675a62477d1f /arch/arm/kernel/signal.h | |
parent | ARM: allow kuser helpers to be removed from the vector page (diff) | |
download | linux-48be69a026b2c17350a5ef18a1959a919f60be7d.tar.xz linux-48be69a026b2c17350a5ef18a1959a919f60be7d.zip |
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>
Diffstat (limited to 'arch/arm/kernel/signal.h')
-rw-r--r-- | arch/arm/kernel/signal.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/kernel/signal.h b/arch/arm/kernel/signal.h deleted file mode 100644 index 5ff067b7c752..000000000000 --- a/arch/arm/kernel/signal.h +++ /dev/null @@ -1,12 +0,0 @@ -/* - * linux/arch/arm/kernel/signal.h - * - * Copyright (C) 2005-2009 Russell King. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -#define KERN_SIGRETURN_CODE (CONFIG_VECTORS_BASE + 0x00000500) - -extern const unsigned long sigreturn_codes[7]; |