diff options
author | Kees Cook <[email protected]> | 2016-08-17 14:42:10 -0700 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2016-10-31 13:01:57 -0700 |
commit | 0cd340dcb05c4a43742fe156f36737bb2a321bfd (patch) | |
tree | 1e45dac53b3a090f28e2e11a5328f0f5a8b4d6a0 /lib/test-string_helpers.c | |
parent | 54acd4397d7e7a725c94101180cd9f38ef701acc (diff) |
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 <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions