]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit743ce1430e5b2434e90c6ea1b18f6fc3ce6b27dc
treec9bff1bf167317cf688f9919b4bc45c560a3326c
parent8760358c76b5be5919a97631b693c2d10a8af283
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