2024-03-28 21:56:22

by Kees Cook

[permalink] [raw]
Subject: Re: [PATCH] gcc-plugins/stackleak: Avoid .head.text section

On Thu, 28 Mar 2024 07:42:57 +0100, Ard Biesheuvel wrote:
> 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.
>
>

Applied to for-next/hardening, thanks!

[1/1] gcc-plugins/stackleak: Avoid .head.text section
https://git.kernel.org/kees/c/4ac9a796ada0

Take care,

--
Kees Cook