]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
usercopy: force check_object_size() inline
authorKees Cook <keescook@chromium.org>
Wed, 7 Sep 2016 16:39:32 +0000 (09:39 -0700)
committerKees Cook <keescook@chromium.org>
Wed, 7 Sep 2016 18:33:26 +0000 (11:33 -0700)
commita85d6b8242dc78ef3f4542a0f979aebcbe77fc4e
tree71e873932fdbbeaa732c42bd059d4c85c7366af5
parentab29b33a84f6910ebf01a32f69a370886a4283dd
usercopy: force check_object_size() inline

Just for good measure, make sure that check_object_size() is always
inlined too, as already done for copy_*_user() and __copy_*_user().

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
include/linux/thread_info.h