OSDN Git Service

UPSTREAM: usercopy: force check_object_size() inline
authorKees Cook <keescook@chromium.org>
Wed, 7 Sep 2016 16:39:32 +0000 (09:39 -0700)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 8 Sep 2016 18:10:28 +0000 (18:10 +0000)
commit93584e7e1b4ea543ed04cff643186946196eaebb
treed51bd08019817c02dcce8d19399002b6ab296af6
parent1fd70f71e8f428f0c191a6b86e72e700dbe34bed
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