commit | 04385fc5e8fffed84425d909a783c0f0c587d847 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Thu Jun 23 15:20:59 2016 -0700 |
committer | Kees Cook <keescook@chromium.org> | Tue Jul 26 14:41:53 2016 -0700 |
tree | 07f94a9ec860dc0bcb6efd2f44632d0a5da29237 | |
parent | 97433ea4fda62349bfa42089455593cbcb57e06c [diff] |
mm: SLAB hardened usercopy support Under CONFIG_HARDENED_USERCOPY, this adds object size checking to the SLAB allocator to catch any copies that may span objects. Based on code from PaX and grsecurity. Signed-off-by: Kees Cook <keescook@chromium.org> Tested-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>