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

usercopy: Include offset in hardened usercopy report



This refactors the hardened usercopy code so that failure reporting can
happen within the checking functions instead of at the top level. This
simplifies the return value handling and allows more details and offsets
to be included in the report. Having the offset can be much more helpful
in understanding hardened usercopy bugs.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent b394d468
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