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

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: default avatarKees Cook <keescook@chromium.org>
parent 4f5e8386
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