diff options
author | Kees Cook <keescook@chromium.org> | 2016-09-01 02:04:21 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-09-06 22:17:29 +0300 |
commit | 81409e9e28058811c9ea865345e1753f8f677e44 (patch) | |
tree | 6573d95f94ea5b164035a9527a60d08650c29329 /mm/nobootmem.c | |
parent | e6971009a95a74f28c58bbae415c40effad1226c (diff) | |
download | linux-81409e9e28058811c9ea865345e1753f8f677e44.tar.xz |
usercopy: fold builtin_const check into inline function
Instead of having each caller of check_object_size() need to remember to
check for a const size parameter, move the check into check_object_size()
itself. This actually matches the original implementation in PaX, though
this commit cleans up the now-redundant builtin_const() calls in the
various architectures.
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions