[PATCH 0/9] LKDTM: Improvements for kernelci.org

From: Kees Cook
Date: Wed Jun 23 2021 - 16:39:57 EST


This is a bunch of LKDTM clean-ups to improve and expand testing,
given feedback from testing at kernelci.org. Adds a few new tests as
well.

(If a pull-request is preferred, please let me know.)

Thanks!

-Kees

Kees Cook (9):
selftests/lkdtm: Avoid needing explicit sub-shell
selftests/lkdtm: Fix expected text for CR4 pinning
selftests/lkdtm: Fix expected text for free poison
lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITE
lkdtm/heap: Add vmalloc linear overflow test
lkdtm: Enable DOUBLE_FAULT on all architectures
lkdtm: Add CONFIG hints in errors where possible
selftests/lkdtm: Enable various testable CONFIGs
lkdtm/heap: Add init_on_alloc tests

drivers/misc/lkdtm/bugs.c | 11 ++-
drivers/misc/lkdtm/cfi.c | 3 +-
drivers/misc/lkdtm/core.c | 58 ++++++++++-
drivers/misc/lkdtm/fortify.c | 3 +-
drivers/misc/lkdtm/heap.c | 97 ++++++++++++++++++-
drivers/misc/lkdtm/lkdtm.h | 46 ++++++++-
drivers/misc/lkdtm/stackleak.c | 4 +-
drivers/misc/lkdtm/usercopy.c | 7 +-
tools/testing/selftests/lkdtm/config | 7 ++
tools/testing/selftests/lkdtm/run.sh | 12 ++-
.../testing/selftests/lkdtm/stack-entropy.sh | 1 +
tools/testing/selftests/lkdtm/tests.txt | 11 ++-
12 files changed, 236 insertions(+), 24 deletions(-)

--
2.30.2