Linux-Hardening mirror
 help / color / mirror / Atom feed
From: Kees Cook <keescook@chromium.org>
To: linux-hardening@vger.kernel.org, Ard Biesheuvel <ardb+git@google.com>
Cc: Kees Cook <keescook@chromium.org>,
	x86@kernel.org, linux-kernel@vger.kernel.org,
	kevinloughlin@google.com, thomas.lendacky@amd.com,
	Ard Biesheuvel <ardb@kernel.org>,
	kernel test robot <oliver.sang@intel.com>
Subject: Re: [PATCH] gcc-plugins/stackleak: Avoid .head.text section
Date: Thu, 28 Mar 2024 14:56:10 -0700	[thread overview]
Message-ID: <171166296859.3578759.529846502989874977.b4-ty@chromium.org> (raw)
In-Reply-To: <20240328064256.2358634-2-ardb+git@google.com>

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


      reply	other threads:[~2024-03-28 21:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28  6:42 [PATCH] gcc-plugins/stackleak: Avoid .head.text section Ard Biesheuvel
2024-03-28 21:56 ` Kees Cook [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=171166296859.3578759.529846502989874977.b4-ty@chromium.org \
    --to=keescook@chromium.org \
    --cc=ardb+git@google.com \
    --cc=ardb@kernel.org \
    --cc=kevinloughlin@google.com \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oliver.sang@intel.com \
    --cc=thomas.lendacky@amd.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).