summaryrefslogtreecommitdiffstats
path: root/arch/sparc/Kconfig
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2016-06-23 15:10:13 -0700
committerKees Cook <keescook@chromium.org>2016-07-26 14:41:52 -0700
commit9d9208a15800f9f06f102f9aac1e8b323c3b8575 (patch)
tree45ec25224b6dae6634bb6fadc7e679c4cae2a404 /arch/sparc/Kconfig
parent1d3c1324746fed0e34a5b94d3ed303e7521ed603 (diff)
downloadop-kernel-dev-9d9208a15800f9f06f102f9aac1e8b323c3b8575.zip
op-kernel-dev-9d9208a15800f9f06f102f9aac1e8b323c3b8575.tar.gz
sparc/uaccess: Enable hardened usercopy
Enables CONFIG_HARDENED_USERCOPY checks on sparc. Based on code from PaX and grsecurity. Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'arch/sparc/Kconfig')
-rw-r--r--arch/sparc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 546293d..59b0960 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -43,6 +43,7 @@ config SPARC
select OLD_SIGSUSPEND
select ARCH_HAS_SG_CHAIN
select CPU_NO_EFFICIENT_FFS
+ select HAVE_ARCH_HARDENED_USERCOPY
config SPARC32
def_bool !64BIT
OpenPOWER on IntegriCloud