diff options
| author | Kees Cook <keescook@chromium.org> | 2016-08-17 14:42:12 -0700 |
|---|---|---|
| committer | Satya Tangirala <satyat@google.com> | 2018-09-21 14:51:12 -0700 |
| commit | 3c318e77d1e4d32018def996c1241558822be0e5 (patch) | |
| tree | ffe01afb93a2ab986d9786e923478bce8f2cf06e /arch/x86/entry/common.c | |
| parent | 7514f97280fdf4373f99ca28e573925cfb828aa7 (diff) | |
BACKPORT: lkdtm: Add tests for struct list corruption
(cherry-picked from 6819d101dd739dd4e8cbe60a98c9ebb224ecc992)
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.
Change-Id: Iddf70c61b745342dd4f055dc9c1eb221ca779c2e
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>
Signed-off-by: Satya Tangirala <satyat@google.com>
Diffstat (limited to 'arch/x86/entry/common.c')
0 files changed, 0 insertions, 0 deletions
