commit | 3b3b1a29eb89ba93f91213cbebb332a2ac31fa8b | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Tue May 08 12:55:26 2018 -0700 |
committer | Kees Cook <keescook@chromium.org> | Tue Jun 05 12:16:51 2018 -0700 |
tree | f163f64ea43d4afee78f1bc0ad5eadc882e40343 | |
parent | 49b7f8983aa78581bfd511a26891b26cd734e293 [diff] |
mm: Use overflow helpers in kvmalloc() Instead of open-coded multiplication and bounds checking, use the new overflow helper. Additionally prepare for vmalloc() users to add array_size()-family helpers in the future. Signed-off-by: Kees Cook <keescook@chromium.org>