]> git.karo-electronics.de Git - linux-beck.git/commit
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:44:36 +0000 (17:44 +0100)
commit17c443421458ea699e044bf2903c236aabbe304a
tree188fde51a45aa07b634c113820bf2bae12133df1
parent808de347ebd45575e12c2f20bebbdf4233270952
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