• K
    usercopy: Include offset in hardened usercopy report · f4e6e289
    Kees Cook 提交于
    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: NKees Cook <keescook@chromium.org>
    f4e6e289
slab.c 109.9 KB