]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
stackleak: Rename stackleak_track_stack to __sanitizer_cov_stack_depth
authorKees Cook <kees@kernel.org>
Thu, 17 Jul 2025 23:25:07 +0000 (16:25 -0700)
committerKees Cook <kees@kernel.org>
Tue, 22 Jul 2025 04:40:39 +0000 (21:40 -0700)
commit9ea1e8d28add49ab3c1ecfa43f08d92ee23f3e33
treeca0250a1d5333c933b753e78a1bb77f04f0baeb8
parent57fbad15c2eee77276a541c616589b32976d2b8e
stackleak: Rename stackleak_track_stack to __sanitizer_cov_stack_depth

The Clang stack depth tracking implementation has a fixed name for
the stack depth tracking callback, "__sanitizer_cov_stack_depth", so
rename the GCC plugin function to match since the plugin has no external
dependencies on naming.

Link: https://lore.kernel.org/r/20250717232519.2984886-2-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
include/linux/kstack_erase.h
kernel/kstack_erase.c
scripts/gcc-plugins/stackleak_plugin.c
security/Kconfig.hardening
tools/objtool/check.c