UPSTREAM: usercopy: force check_object_size() inline
authorKees Cook <keescook@chromium.org>
Wed, 7 Sep 2016 16:39:32 +0000 (09:39 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 09:14:29 +0000 (14:44 +0530)
commit0c9f69c443b43eb8b545c605cf65f509a7ab64f7
treedc14e66381340b3e503149a5082fcd89f2d0095c
parentab8010a1aea63d162c912319f1b81f4e0aaebb4a
UPSTREAM: 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>
Change-Id: Ibfdf4790d03fe426e68d9a864c55a0d1bbfb7d61
(cherry picked from commit a85d6b8242dc78ef3f4542a0f979aebcbe77fc4e)
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
include/linux/thread_info.h