aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2019-09-25 16:47:39 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-09-25 17:51:40 -0700
commit9dd819a15162f8f82a6001b090caa38c18297b39 (patch)
tree3dbec1875f99adf45fbf236dcfa53efd1497e8cb /lib
parentkexec: restore arch_kexec_kernel_image_probe declaration (diff)
downloadlinux-dev-9dd819a15162f8f82a6001b090caa38c18297b39.tar.xz
linux-dev-9dd819a15162f8f82a6001b090caa38c18297b39.zip
uaccess: add missing __must_check attributes
The usercopy implementation comments describe that callers of the copy_*_user() family of functions must always have their return values checked. This can be enforced at compile time with __must_check, so add it where needed. Link: http://lkml.kernel.org/r/201908251609.ADAD5CAAC1@keescook Signed-off-by: Kees Cook <keescook@chromium.org> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions