arm64/uaccess: Enable hardened usercopy
authorKees Cook <keescook@chromium.org>
Thu, 23 Jun 2016 22:59:42 +0000 (15:59 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 26 Jul 2016 21:41:49 +0000 (14:41 -0700)
commitfaf5b63e294151d6ac24ca6906d6f221bd3496cd
tree08d4c75346cf54025b6ae1599e3c61afe5423c8f
parentdfd45b6103c973bfcea2341d89e36faf947dbc33
arm64/uaccess: Enable hardened usercopy

Enables CONFIG_HARDENED_USERCOPY checks on arm64. As done by KASAN in -next,
renames the low-level functions to __arch_copy_*_user() so a static inline
can do additional work before the copy.

Signed-off-by: Kees Cook <keescook@chromium.org>
arch/arm64/Kconfig
arch/arm64/include/asm/uaccess.h
arch/arm64/kernel/arm64ksyms.c
arch/arm64/lib/copy_from_user.S
arch/arm64/lib/copy_to_user.S