mirror_ubuntu-kernels/drivers/misc/lkdtm
Kees Cook c75be56e35 lkdtm/bugs: Add ARRAY_BOUNDS to selftests
Add CONFIG hints about why the ARRAY_BOUNDS test might fail, and
similarly include the CONFIGs needed to pass the ARRAY_BOUNDS test via
the selftests, and add to selftests.

Cc: kernelci@groups.io
Suggested-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210818174855.2307828-2-keescook@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-18 22:28:51 +02:00
..
bugs.c lkdtm/bugs: Add ARRAY_BOUNDS to selftests 2021-08-18 22:28:51 +02:00
cfi.c lkdtm: Add CONFIG hints in errors where possible 2021-06-24 15:32:08 +02:00
core.c lkdtm: remove duplicated include of init.h 2021-07-21 15:50:26 +02:00
fortify.c lkdtm: Add CONFIG hints in errors where possible 2021-06-24 15:32:08 +02:00
heap.c lkdtm/heap: Add init_on_alloc tests 2021-06-24 15:32:08 +02:00
lkdtm.h lkdtm/heap: Add init_on_alloc tests 2021-06-24 15:32:08 +02:00
Makefile drivers/misc/lkdtm: disable LTO for rodata.o 2021-01-14 08:21:09 -08:00
perms.c lkdtm: Avoid more compiler optimizations for bad writes 2020-06-29 18:41:39 +02:00
powerpc.c lkdtm/powerpc: Add SLB multihit test 2020-12-04 01:01:34 +11:00
refcount.c lkdtm: Remove references to CONFIG_REFCOUNT_FULL 2019-11-25 09:15:46 +01:00
rodata.c lkdtm: don't move ctors to .rodata 2020-12-09 15:51:14 +01:00
stackleak.c lkdtm: Add CONFIG hints in errors where possible 2021-06-24 15:32:08 +02:00
usercopy.c lkdtm: Add CONFIG hints in errors where possible 2021-06-24 15:32:08 +02:00