summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorKees Cook2018-01-10 23:22:38 +0100
committerKees Cook2018-01-15 21:07:44 +0100
commitb394d468e7d75637e682a9be4a1181b27186c593 (patch)
tree1c0894b3aafc06a4ee6bfc6facc81d192781de66 /mm/slab.c
parentusercopy: Remove pointer from overflow report (diff)
downloadkernel-qcow2-linux-b394d468e7d75637e682a9be4a1181b27186c593.tar.gz
kernel-qcow2-linux-b394d468e7d75637e682a9be4a1181b27186c593.tar.xz
kernel-qcow2-linux-b394d468e7d75637e682a9be4a1181b27186c593.zip
usercopy: Enhance and rename report_usercopy()
In preparation for refactoring the usercopy checks to pass offset to the hardened usercopy report, this renames report_usercopy() to the more accurate usercopy_abort(), marks it as noreturn because it is, adds a hopefully helpful comment for anyone investigating such reports, makes the function available to the slab allocators, and adds new "detail" and "offset" arguments. Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions