Skip to content
Commit b16c42c8 authored by Marco Elver's avatar Marco Elver Committed by Kees Cook
Browse files

list_debug: Introduce inline wrappers for debug checks



Turn the list debug checking functions __list_*_valid() into inline
functions that wrap the out-of-line functions. Care is taken to ensure
the inline wrappers are always inlined, so that additional compiler
instrumentation (such as sanitizers) does not result in redundant
outlining.

This change is preparation for performing checks in the inline wrappers.

No functional change intended.

Signed-off-by: default avatarMarco Elver <elver@google.com>
Link: https://lore.kernel.org/r/20230811151847.1594958-2-elver@google.com


Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 7a0fd5e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment