linux/Documentation/security
Kees Cook 57fbad15c2 stackleak: Rename STACKLEAK to KSTACK_ERASE
In preparation for adding Clang sanitizer coverage stack depth tracking
that can support stack depth callbacks:

- Add the new top-level CONFIG_KSTACK_ERASE option which will be
  implemented either with the stackleak GCC plugin, or with the Clang
  stack depth callback support.
- Rename CONFIG_GCC_PLUGIN_STACKLEAK as needed to CONFIG_KSTACK_ERASE,
  but keep it for anything specific to the GCC plugin itself.
- Rename all exposed "STACKLEAK" names and files to "KSTACK_ERASE" (named
  for what it does rather than what it protects against), but leave as
  many of the internals alone as possible to avoid even more churn.

While here, also split "prev_lowest_stack" into CONFIG_KSTACK_ERASE_METRICS,
since that's the only place it is referenced from.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20250717232519.2984886-1-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
2025-07-21 21:35:01 -07:00
..
keys docs: trusted-encrypted: add DCP as new trust source 2024-05-09 18:29:03 +03:00
secrets Documentation: Fix typos 2023-08-18 11:29:03 -06:00
tpm Documentation: tpm: Add documentation for the CRB FF-A interface 2025-03-27 15:34:05 +02:00
credentials.rst cred: remove unused get_new_cred() 2024-12-02 11:25:14 +01:00
digsig.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
IMA-templates.rst
index.rst documentation: add IPE documentation 2024-08-20 14:03:47 -04:00
ipe.rst documentation: add IPE documentation 2024-08-20 14:03:47 -04:00
landlock.rst landlock: Add audit documentation 2025-03-26 13:59:49 +01:00
lsm-development.rst
lsm.rst
sak.rst
SCTP.rst Docs: typos/spelling 2024-05-02 10:02:29 -06:00
self-protection.rst stackleak: Rename STACKLEAK to KSTACK_ERASE 2025-07-21 21:35:01 -07:00
siphash.rst
snp-tdx-threat-model.rst docs/MAINTAINERS: Update my email address 2024-04-26 07:42:47 -06:00