linux/drivers/misc/lkdtm
Christophe Leroy 59a12205d3 lkdtm: Add tests for NULL pointer dereference
Introduce lkdtm tests for NULL pointer dereference: check access or exec
at NULL address, since these errors tend to be reported differently from
the general fault error text. For example from x86:

    pr_alert("BUG: unable to handle kernel %s at %px\n",
        address < PAGE_SIZE ? "NULL pointer dereference" : "paging request",
        (void *)address);

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Kees Cook <keescook@chromium.org>
2019-01-09 12:00:31 -08:00
..
bugs.c
core.c lkdtm: Add tests for NULL pointer dereference 2019-01-09 12:00:31 -08:00
heap.c
lkdtm.h lkdtm: Add tests for NULL pointer dereference 2019-01-09 12:00:31 -08:00
Makefile lkdtm: Add a test for STACKLEAK 2018-09-04 10:35:47 -07:00
perms.c lkdtm: Add tests for NULL pointer dereference 2019-01-09 12:00:31 -08:00
refcount.c
rodata.c
stackleak.c lkdtm: Add a test for STACKLEAK 2018-09-04 10:35:47 -07:00
usercopy.c Char/Misc driver patches for 4.20-rc1 2018-10-26 09:11:43 -07:00