diff options
author | Kees Cook <keescook@chromium.org> | 2016-06-23 15:24:05 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-07-26 14:43:54 -0700 |
commit | ed18adc1cdd00a5c55a20fbdaed4804660772281 (patch) | |
tree | 652ad77b2d5e9ed24eb4782c2b270c7e7b4fc0c1 /include/linux/mmzone.h | |
parent | 04385fc5e8fffed84425d909a783c0f0c587d847 (diff) |
mm: SLUB hardened usercopy support
Under CONFIG_HARDENED_USERCOPY, this adds object size checking to the
SLUB allocator to catch any copies that may span objects. Includes a
redzone handling fix discovered by Michael Ellerman.
Based on code from PaX and grsecurity.
Signed-off-by: Kees Cook <keescook@chromium.org>
Tested-by: Michael Ellerman <mpe@ellerman.id.au>
Reviwed-by: Laura Abbott <labbott@redhat.com>
Diffstat (limited to 'include/linux/mmzone.h')
0 files changed, 0 insertions, 0 deletions