aboutsummaryrefslogtreecommitdiff
path: root/include/asm-generic/uaccess.h
Commit message (Collapse)AuthorAgeFilesLines
* asm-generic: make copy_from_user() zero the destination properlyAl Viro2017-04-111-4/+6
| | | | | | | | | | | | | | | 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>
* asm-generic: make get_user() clear the destination on errorsAl Viro2017-04-111-3/+7
| | | | | | | | | 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: Willy Tarreau <w@1wt.eu>
* first commitMeizu OpenSource2016-08-151-0/+346