summaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorKees Cook2016-06-24 00:20:59 +0200
committerKees Cook2016-07-26 23:41:53 +0200
commit04385fc5e8fffed84425d909a783c0f0c587d847 (patch)
tree07f94a9ec860dc0bcb6efd2f44632d0a5da29237 /mm/slub.c
parents390/uaccess: Enable hardened usercopy (diff)
downloadkernel-qcow2-linux-04385fc5e8fffed84425d909a783c0f0c587d847.tar.gz
kernel-qcow2-linux-04385fc5e8fffed84425d909a783c0f0c587d847.tar.xz
kernel-qcow2-linux-04385fc5e8fffed84425d909a783c0f0c587d847.zip
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>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions