asm-generic: make get_user() clear the destination on errors
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 18 Aug 2016 03:19:01 +0000 (23:19 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 13 Sep 2016 21:49:10 +0000 (17:49 -0400)
commit9ad18b75c2f6e4a78ce204e79f37781f8815c0fa
treec9bff1bf167317cf688f9919b4bc45c560a3326c
parent2545e5da080b4839dd859e3b09343a884f6ab0e3
asm-generic: make get_user() clear the destination on errors

both for access_ok() failures and for faults halfway through

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/asm-generic/uaccess.h