diff options
author | Kees Cook <keescook@chromium.org> | 2022-02-16 10:20:47 -0800 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-04-12 16:11:49 -0700 |
commit | 42db2594e4cd4a3c29aad87f80b1c00bf7751afe (patch) | |
tree | fc6a1f3ddb556df937ed649494638a22dc730c1d /tools | |
parent | 4a9800c81d2f34afb66b4b42e0330ae8298019a2 (diff) | |
download | linux-42db2594e4cd4a3c29aad87f80b1c00bf7751afe.tar.gz linux-42db2594e4cd4a3c29aad87f80b1c00bf7751afe.tar.bz2 linux-42db2594e4cd4a3c29aad87f80b1c00bf7751afe.zip |
lkdtm/heap: Note conditions for SLAB_LINEAR_OVERFLOW
It wasn't clear when SLAB_LINEAR_OVERFLOW would be expected to trip.
Explicitly describe it and include the CONFIGs in the kselftest.
Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/lkdtm/config | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/lkdtm/config b/tools/testing/selftests/lkdtm/config index 46f39ee76208..304123688739 100644 --- a/tools/testing/selftests/lkdtm/config +++ b/tools/testing/selftests/lkdtm/config @@ -9,3 +9,5 @@ CONFIG_UBSAN=y CONFIG_UBSAN_BOUNDS=y CONFIG_UBSAN_TRAP=y CONFIG_STACKPROTECTOR_STRONG=y +CONFIG_SLUB_DEBUG=y +CONFIG_SLUB_DEBUG_ON=y |