diff options
author | Kees Cook <keescook@chromium.org> | 2016-06-23 15:06:53 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-07-26 14:41:49 -0700 |
commit | dfd45b6103c973bfcea2341d89e36faf947dbc33 (patch) | |
tree | 7f9a7a3069064efc667a8845ca0a263a8c620315 /arch/arm/Kconfig | |
parent | 5b710f34e194c6b7710f69fdb5d798fdf35b98c1 (diff) | |
download | lwn-dfd45b6103c973bfcea2341d89e36faf947dbc33.tar.gz lwn-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/Kconfig | 1 |
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 |