]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 29 Sep 2016 09:14:31 +0000 (11:14 +0200)
commit1334047d29ad3e40fee3bb6bdb75e1707739ad01
treef252b792d14912478c341fb68e1854ddb594de5f
parent27f32d12e690e61a9b356f84e54f496a2cb64f6e
asm-generic: make get_user() clear the destination on errors

commit 9ad18b75c2f6e4a78ce204e79f37781f8815c0fa upstream.

both for access_ok() failures and for faults halfway through

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
include/asm-generic/uaccess.h