mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
59a12205d3
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> |
||
---|---|---|
.. | ||
bugs.c | ||
core.c | ||
heap.c | ||
lkdtm.h | ||
Makefile | ||
perms.c | ||
refcount.c | ||
rodata.c | ||
stackleak.c | ||
usercopy.c |