diff options
| author | Alexander Potapenko <glider@google.com> | 2023-02-20 16:35:32 +0100 |
|---|---|---|
| committer | Alexander Potapenko <ramosian.glider@gmail.com> | 2023-02-20 18:43:40 +0100 |
| commit | 2414209c29a67a42e91767f6ecafa825551e854c (patch) | |
| tree | 8ff6e1530fa1f75c33244c6feb3f498e7d43f9e2 | |
| parent | 4f5f52092fba2058beef2f84df275ad377c3b35c (diff) | |
dashboard/config/linux: enable CONFIG_KMSAN_CHECK_PARAM_RETVAL for KMSAN
Not sure why this wasn't done before, but KMSAN_CHECK_PARAM_RETVAL is
quite important for KMSAN. Enable it.
| -rw-r--r-- | dashboard/config/linux/bits/kmsan.yml | 1 | ||||
| -rw-r--r-- | dashboard/config/linux/upstream-kmsan-base.config | 2 | ||||
| -rw-r--r-- | dashboard/config/linux/upstream-kmsan.config | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/dashboard/config/linux/bits/kmsan.yml b/dashboard/config/linux/bits/kmsan.yml index 3b031c68d..1e1ae12eb 100644 --- a/dashboard/config/linux/bits/kmsan.yml +++ b/dashboard/config/linux/bits/kmsan.yml @@ -9,6 +9,7 @@ kernel: config: - KMSAN + - KMSAN_CHECK_PARAM_RETVAL # Crash the kernel after the first KMSAN report. - CMDLINE: [append, "kmsan.panic=1"] diff --git a/dashboard/config/linux/upstream-kmsan-base.config b/dashboard/config/linux/upstream-kmsan-base.config index 71f4a9534..5962d4349 100644 --- a/dashboard/config/linux/upstream-kmsan-base.config +++ b/dashboard/config/linux/upstream-kmsan-base.config @@ -5101,7 +5101,7 @@ CONFIG_HAVE_ARCH_KMSAN=y CONFIG_HAVE_KMSAN_COMPILER=y CONFIG_KMSAN=y CONFIG_HAVE_KMSAN_PARAM_RETVAL=y -# CONFIG_KMSAN_CHECK_PARAM_RETVAL is not set +CONFIG_KMSAN_CHECK_PARAM_RETVAL=y # end of Memory Debugging # CONFIG_DEBUG_SHIRQ is not set diff --git a/dashboard/config/linux/upstream-kmsan.config b/dashboard/config/linux/upstream-kmsan.config index 9b13bbbb6..ba6189864 100644 --- a/dashboard/config/linux/upstream-kmsan.config +++ b/dashboard/config/linux/upstream-kmsan.config @@ -8694,7 +8694,7 @@ CONFIG_HAVE_ARCH_KMSAN=y CONFIG_HAVE_KMSAN_COMPILER=y CONFIG_KMSAN=y CONFIG_HAVE_KMSAN_PARAM_RETVAL=y -# CONFIG_KMSAN_CHECK_PARAM_RETVAL is not set +CONFIG_KMSAN_CHECK_PARAM_RETVAL=y # end of Memory Debugging # CONFIG_DEBUG_SHIRQ is not set |
