diff options
author | Kees Cook <keescook@chromium.org> | 2018-01-11 01:48:22 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2018-01-15 23:07:45 +0300 |
commit | f4e6e289cb9cf67885b6b18b9d56d2c3e1c714a1 (patch) | |
tree | ef4487691b7cc2581baeebedfa3ef4482ecad3fa /init | |
parent | b394d468e7d75637e682a9be4a1181b27186c593 (diff) | |
download | linux-f4e6e289cb9cf67885b6b18b9d56d2c3e1c714a1.tar.xz |
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: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions