score: fix __get_user/get_user
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 22 Aug 2016 02:13:39 +0000 (22:13 -0400)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Feb 2017 22:32:59 +0000 (23:32 +0100)
commit60f0190e1114fad523eac306ea6d467fbf59c59d
treea53643441e3ea1bf264ce33129f3a11e82691553
parent643d0a2d2c3f77454a313c0e7999e1ce9a6363d2
score: fix __get_user/get_user

commit c2f18fa4cbb3ad92e033a24efa27583978ce9600 upstream.

* should zero on any failure
* __get_user() should use __copy_from_user(), not copy_from_user()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Willy Tarreau <w@1wt.eu>
arch/score/include/asm/uaccess.h