Skip to content
Commit ed18adc1 authored by Kees Cook's avatar Kees Cook
Browse files

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: default avatarKees Cook <keescook@chromium.org>
Tested-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Reviwed-by: default avatarLaura Abbott <labbott@redhat.com>
parent 04385fc5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment