]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/lkdtm: Add configs for stackleak and "after free" tests
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Tue, 17 May 2022 13:29:31 +0000 (18:29 +0500)
committerKees Cook <keescook@chromium.org>
Tue, 17 May 2022 21:37:05 +0000 (14:37 -0700)
commit25caf5549b0f189749774828deae84dd2d8e3931
tree0e9dd64ccf1a2fa5d7b867da9ddd7ae5c0691a5d
parented18f4f8bff076090ae7bf2e0539cb0d570e8583
selftests/lkdtm: Add configs for stackleak and "after free" tests

Add config options which are needed for LKDTM sub-tests:
STACKLEAK_ERASING test needs GCC_PLUGIN_STACKLEAK config.
READ_AFTER_FREE and READ_BUDDY_AFTER_FREE tests need
INIT_ON_FREE_DEFAULT_ON config.

Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220517132932.1484719-1-usama.anjum@collabora.com
tools/testing/selftests/lkdtm/config