summaryrefslogtreecommitdiff
path: root/block/bsg.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-01-11 01:48:22 +0300
committerKees Cook <keescook@chromium.org>2018-01-15 23:07:45 +0300
commitf4e6e289cb9cf67885b6b18b9d56d2c3e1c714a1 (patch)
treeef4487691b7cc2581baeebedfa3ef4482ecad3fa /block/bsg.c
parentb394d468e7d75637e682a9be4a1181b27186c593 (diff)
downloadlinux-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 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions