lkdtm/usercopy: Adjust test to include an offset to check reporting
authorKees Cook <keescook@chromium.org>
Tue, 2 Jan 2018 20:06:27 +0000 (12:06 -0800)
committerKees Cook <keescook@chromium.org>
Mon, 15 Jan 2018 20:07:46 +0000 (12:07 -0800)
commitc75886862480bb243833e94292db9c44b8af9868
treeb38c49aaae09223b63bd2bb798dc531c10309057
parentf4e6e289cb9cf67885b6b18b9d56d2c3e1c714a1
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>
drivers/misc/lkdtm_usercopy.c