diff options
author | Kees Cook <keescook@chromium.org> | 2018-01-02 12:06:27 -0800 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2018-01-15 12:07:46 -0800 |
commit | c75886862480bb243833e94292db9c44b8af9868 (patch) | |
tree | b38c49aaae09223b63bd2bb798dc531c10309057 /mm/slab_common.c | |
parent | f4e6e289cb9cf67885b6b18b9d56d2c3e1c714a1 (diff) | |
download | lwn-c75886862480bb243833e94292db9c44b8af9868.tar.gz lwn-c75886862480bb243833e94292db9c44b8af9868.zip |
lkdtm/usercopy: Adjust test to include an offset to check reporting
Instead of doubling the size, push the start position up by 16 bytes to
still trigger an overflow. This allows to verify that offset reporting
is working correctly.
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'mm/slab_common.c')
0 files changed, 0 insertions, 0 deletions