summaryrefslogtreecommitdiff
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2016-06-24 01:10:01 +0300
committerKees Cook <keescook@chromium.org>2016-07-27 00:41:51 +0300
commit1d3c1324746fed0e34a5b94d3ed303e7521ed603 (patch)
treed66dc4264cc9e9ac2832e463d8ba24ebf46d65f9 /arch/powerpc/Kconfig
parent73d35887e24da77e8d1321b2e92bd9b9128e2fc2 (diff)
downloadlinux-1d3c1324746fed0e34a5b94d3ed303e7521ed603.tar.xz
powerpc/uaccess: Enable hardened usercopy
Enables CONFIG_HARDENED_USERCOPY checks on powerpc. Based on code from PaX and grsecurity. Signed-off-by: Kees Cook <keescook@chromium.org> Tested-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 0a9d439bcda6..0ac48a81632d 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -164,6 +164,7 @@ config PPC
select ARCH_HAS_UBSAN_SANITIZE_ALL
select ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT
select HAVE_LIVEPATCH if HAVE_DYNAMIC_FTRACE_WITH_REGS
+ select HAVE_ARCH_HARDENED_USERCOPY
config GENERIC_CSUM
def_bool CPU_LITTLE_ENDIAN