diff options
author | Muhammad Usama Anjum <usama.anjum@collabora.com> | 2022-01-21 19:51:53 +0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-26 15:59:50 +0100 |
commit | 6d01f36f9e49e17c3473fc5d9af67b5f32df5c87 (patch) | |
tree | 09f3e758548863f650c3bee292e4a28145de7904 /arch/s390/lib/test_modules_helpers.c | |
parent | b05bd3ea486094b4d3063004ba9979ad0b24aac0 (diff) | |
download | linux-6d01f36f9e49e17c3473fc5d9af67b5f32df5c87.tar.gz linux-6d01f36f9e49e17c3473fc5d9af67b5f32df5c87.tar.bz2 linux-6d01f36f9e49e17c3473fc5d9af67b5f32df5c87.zip |
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: c75be56e35b2 ("lkdtm/bugs: Add ARRAY_BOUNDS to selftests")
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Link: https://lore.kernel.org/r/20220121145154.1795447-2-usama.anjum@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions