BACKPORT: ARM: uaccess: Enable hardened usercopy
authorKees Cook <keescook@chromium.org>
Thu, 23 Jun 2016 22:06:53 +0000 (15:06 -0700)
committerSami Tolvanen <samitolvanen@google.com>
Tue, 6 Sep 2016 15:54:00 +0000 (15:54 +0000)
commit073fcda55b357777cc3edaa2e67060cd8d78dbb3
tree2d5a021376a573a62e5934e8b81ca33886e87e82
parent9c61fcc2b39760263436b13b97071ae6e8eeb5f2
BACKPORT: ARM: uaccess: Enable hardened usercopy

Enables CONFIG_HARDENED_USERCOPY checks on arm.

Based on code from PaX and grsecurity.

Signed-off-by: Kees Cook <keescook@chromium.org>
Change-Id: I03a44ca7a8c56832f15a6a74ac32e9330df3ac3b
(cherry picked from commit dfd45b6103c973bfcea2341d89e36faf947dbc33)
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
arch/arm/Kconfig
arch/arm/include/asm/uaccess.h