diff options
author | Kees Cook <keescook@chromium.org> | 2016-06-24 01:10:01 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-07-27 00:41:51 +0300 |
commit | 1d3c1324746fed0e34a5b94d3ed303e7521ed603 (patch) | |
tree | d66dc4264cc9e9ac2832e463d8ba24ebf46d65f9 /arch/powerpc/Kconfig | |
parent | 73d35887e24da77e8d1321b2e92bd9b9128e2fc2 (diff) | |
download | linux-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/Kconfig | 1 |
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 |