ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user()
authorKees Cook <keescook@chromium.org>
Thu, 16 Feb 2017 00:44:37 +0000 (01:44 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 16 Feb 2017 15:58:32 +0000 (15:58 +0000)
commit9e3440481845b2ec22508f60837ee2cab2b6054f
treedf1c9d3ad0d5713060661901654e970e420ee7c6
parent32b143637e8180f5d5cea54320c769210dea4f19
ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user()

The 64-bit get_user() wasn't clearing the high word due to a typo in the
error handler. The exception handler entry was already correct, though.
Noticed during recent usercopy test additions in lib/test_user_copy.c.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: stable@vger.kernel.org
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/lib/getuser.S