On Wed, May 07, 2025 at 08:45:15PM +0200, Ingo Molnar wrote:
- Kees Cook kees@kernel.org wrote:
The STACKLEAK gcc plugin instruments the kernel code for tracking
The STACKLEAK options instruments the kernel code for tracking
speling.
Thanks!
Also, any chance to fix this terrible name? Should be something like KSTACKZERO or KSTACKCLEAR, to tell people that it doesn't leak the stack but prevents leaks on the stack by clearing it, and that it's about the kernel stack, not any other stack.
Yeah, better to name it for what it does rather than want to protects against. The internal naming for what it does is "stack erase", so perhaps KSTACK_ERASE ?
-Kees