diff options
author | Kees Cook <keescook@chromium.org> | 2016-06-24 01:10:13 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-07-27 00:41:52 +0300 |
commit | 9d9208a15800f9f06f102f9aac1e8b323c3b8575 (patch) | |
tree | 45ec25224b6dae6634bb6fadc7e679c4cae2a404 /arch/sparc/Kconfig | |
parent | 1d3c1324746fed0e34a5b94d3ed303e7521ed603 (diff) | |
download | linux-9d9208a15800f9f06f102f9aac1e8b323c3b8575.tar.xz |
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 |