summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorKees Cook2016-06-24 00:06:53 +0200
committerKees Cook2016-07-26 23:41:49 +0200
commitdfd45b6103c973bfcea2341d89e36faf947dbc33 (patch)
tree7f9a7a3069064efc667a8845ca0a263a8c620315 /arch/arm/Kconfig
parentx86/uaccess: Enable hardened usercopy (diff)
downloadkernel-qcow2-linux-dfd45b6103c973bfcea2341d89e36faf947dbc33.tar.gz
kernel-qcow2-linux-dfd45b6103c973bfcea2341d89e36faf947dbc33.tar.xz
kernel-qcow2-linux-dfd45b6103c973bfcea2341d89e36faf947dbc33.zip
ARM: uaccess: Enable hardened usercopy
Enables CONFIG_HARDENED_USERCOPY checks on arm. Based on code from PaX and grsecurity. Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 90542db1220d..f56b29b3f57e 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -35,6 +35,7 @@ config ARM
select HARDIRQS_SW_RESEND
select HAVE_ARCH_AUDITSYSCALL if (AEABI && !OABI_COMPAT)
select HAVE_ARCH_BITREVERSE if (CPU_32v7M || CPU_32v7) && !CPU_32v6
+ select HAVE_ARCH_HARDENED_USERCOPY
select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL && !CPU_ENDIAN_BE32 && MMU
select HAVE_ARCH_KGDB if !CPU_ENDIAN_BE32 && MMU
select HAVE_ARCH_MMAP_RND_BITS if MMU