diff options
author | Kees Cook <keescook@chromium.org> | 2016-06-23 15:10:13 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-07-26 14:41:52 -0700 |
commit | 9d9208a15800f9f06f102f9aac1e8b323c3b8575 (patch) | |
tree | 45ec25224b6dae6634bb6fadc7e679c4cae2a404 /arch/sparc/Kconfig | |
parent | 1d3c1324746fed0e34a5b94d3ed303e7521ed603 (diff) | |
download | blackbird-op-linux-9d9208a15800f9f06f102f9aac1e8b323c3b8575.tar.gz blackbird-op-linux-9d9208a15800f9f06f102f9aac1e8b323c3b8575.zip |
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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 546293d9e6c5..59b09600dd32 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 |