diff options
author | Kees Cook <keescook@chromium.org> | 2016-08-18 00:42:10 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-10-31 23:01:57 +0300 |
commit | 0cd340dcb05c4a43742fe156f36737bb2a321bfd (patch) | |
tree | 1e45dac53b3a090f28e2e11a5328f0f5a8b4d6a0 /lib/locking-selftest-wlock-hardirq.h | |
parent | 54acd4397d7e7a725c94101180cd9f38ef701acc (diff) | |
download | linux-0cd340dcb05c4a43742fe156f36737bb2a321bfd.tar.xz |
list: Split list_del() debug checking into separate function
Similar to the list_add() debug consolidation, this commit consolidates
the debug checking performed during CONFIG_DEBUG_LIST into a new
__list_del_entry_valid() function, and stops list updates when corruption
is found.
Refactored from same hardening in PaX and Grsecurity.
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/locking-selftest-wlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions