linux/tools/testing/selftests/lkdtm
Muhammad Usama Anjum 1900be289b selftests/lkdtm: Add UBSAN config
UBSAN_BOUNDS and UBSAN_TRAP depend on UBSAN config option.
merge_config.sh script generates following warnings if parent config
doesn't have UBSAN config already enabled and UBSAN_BOUNDS/UBSAN_TRAP
config options don't get added to the parent config.

Value requested for CONFIG_UBSAN_BOUNDS not in final .config
Requested value:  CONFIG_UBSAN_BOUNDS=y
Actual value:

Value requested for CONFIG_UBSAN_TRAP not in final .config
Requested value:  CONFIG_UBSAN_TRAP=y
Actual value:

Fix this by including UBSAN config.

Fixes: c75be56e35 ("lkdtm/bugs: Add ARRAY_BOUNDS to selftests")
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2022-02-23 17:27:53 -07:00
..
.gitignore lkdtm: Add REPORT_STACK for checking stack offsets 2021-04-08 14:05:20 +02:00
config selftests/lkdtm: Add UBSAN config 2022-02-23 17:27:53 -07:00
Makefile lkdtm: Add REPORT_STACK for checking stack offsets 2021-04-08 14:05:20 +02:00
run.sh selftests/lkdtm: Add way to repeat a test 2021-10-25 09:13:46 +02:00
stack-entropy.sh selftest/lkdtm: Skip stack-entropy test if lkdtm is not available 2021-12-16 15:54:38 -08:00
tests.txt lkdtm/bugs: Check that a per-task stack canary exists 2021-10-25 09:13:46 +02:00