aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-08-17 16:36:37 -0400
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:57:58 +0200
commita7e027dca9eecbf6c02f91eb3f09c34136a8312f (patch)
treecbf38921b53b02449e01ca61bc8f71bcb1213768 /arch
parenta8bf3beffe3b4f3b85dbfa98ec02ff2c67956642 (diff)
asm-generic: make copy_from_user() zero the destination properly
commit 2545e5da080b4839dd859e3b09343a884f6ab0e3 upstream. ... in all cases, including the failing access_ok() Note that some architectures using asm-generic/uaccess.h have __copy_from_user() not zeroing the tail on failure halfway through. This variant works either way. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> [wt: s/might_fault/might_sleep] Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions