lkdtm: Update tests for memcpy() run-time warnings
authorKees Cook <keescook@chromium.org>
Thu, 1 Sep 2022 06:05:01 +0000 (23:05 -0700)
committerKees Cook <keescook@chromium.org>
Wed, 7 Sep 2022 23:37:27 +0000 (16:37 -0700)
commit325bf6d84bad3fc641b94fad6e69c70e960fdf2e
treea90f15d4e886952520d69f5367aacd8d051b83e6
parent54d9469bc515dc5fcbc20eecbe19cea868b70d68
lkdtm: Update tests for memcpy() run-time warnings

Clarify the LKDTM FORTIFY tests, and add tests for the mem*() family of
functions, now that run-time checking is distinct.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/misc/lkdtm/fortify.c
tools/testing/selftests/lkdtm/tests.txt