Files
linux/scripts
Ard Biesheuvel e7d24c0aa8 gcc-plugins/stackleak: Avoid .head.text section
The .head.text section carries the startup code that runs with the MMU
off or with a translation of memory that deviates from the ordinary one.
So avoid instrumentation with the stackleak plugin, which already avoids
.init.text and .noinstr.text entirely.

Fixes: 48204aba80 ("x86/sme: Move early SME kernel encryption handling into .head.text")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-lkp/[email protected]
Signed-off-by: Ard Biesheuvel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
2024-04-03 14:35:49 -07:00
..
…
…
…
2022-10-03 14:03:19 -07:00
…
2023-12-03 18:51:48 +09:00
2024-01-04 17:01:15 +01:00
…
2021-05-03 17:23:06 -06:00
2023-12-03 18:51:48 +09:00