ARM: uaccess: Enable hardened usercopy
authorKees Cook <keescook@chromium.org>
Thu, 23 Jun 2016 22:06:53 +0000 (15:06 -0700)
committerAlex Shi <alex.shi@linaro.org>
Sat, 27 Aug 2016 03:23:38 +0000 (11:23 +0800)
commit49f10dde93814929a4e8a4283025cb4c6a6c8e50
treec3841fc8cfd8f2000171d63ac46e65668b1c2e6d
parent4f80bcbe91072b5b83ff3fe0b7cb1e29cfa638be
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>
(cherry picked from commit dfd45b6103c973bfcea2341d89e36faf947dbc33)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
arch/arm/Kconfig
arch/arm/include/asm/uaccess.h