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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Feb 2017 16:43:09 +0000 (17:43 +0100)
commit6787d3ecbef743ef446d79ce1a1de1f9f4a7ff04
treea73d05d5602b6e0b75de528d228a3cff01b521b8
parente6394c7d1c191005baa2d39ca2cc325374a7a35f
ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user()

commit 9e3440481845b2ec22508f60837ee2cab2b6054f upstream.

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>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/lib/getuser.S