summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2016-08-17 23:42:12 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2016-10-31 21:01:58 +0100
commit6819d101dd739dd4e8cbe60a98c9ebb224ecc992 (patch)
tree04823cf711bbe51cad6a4227b3ca14459fbb1336 /lib
parentbug: Provide toggle for BUG on data corruption (diff)
downloadlinux-6819d101dd739dd4e8cbe60a98c9ebb224ecc992.tar.xz
linux-6819d101dd739dd4e8cbe60a98c9ebb224ecc992.zip
lkdtm: Add tests for struct list corruption
When building under CONFIG_DEBUG_LIST, list addition and removal will be sanity-checked. This validates that the check is working as expected by setting up classic corruption attacks against list manipulations, available with the new lkdtm tests CORRUPT_LIST_ADD and CORRUPT_LIST_DEL. Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Rik van Riel <riel@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions