sparc/uaccess: Enable hardened usercopy
authorKees Cook <keescook@chromium.org>
Thu, 23 Jun 2016 22:10:13 +0000 (15:10 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 26 Jul 2016 21:41:52 +0000 (14:41 -0700)
commit9d9208a15800f9f06f102f9aac1e8b323c3b8575
tree45ec25224b6dae6634bb6fadc7e679c4cae2a404
parent1d3c1324746fed0e34a5b94d3ed303e7521ed603
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>
arch/sparc/Kconfig
arch/sparc/include/asm/uaccess_32.h
arch/sparc/include/asm/uaccess_64.h