From: Kees Cook <kees@kernel.org>
To: Nathan Chancellor <nathan@kernel.org>, Kees Cook <kees@kernel.org>
Cc: Bill Wendling <morbo@google.com>,
Justin Stitt <justinstitt@google.com>,
llvm@lists.linux.dev,
Geert Uytterhoeven <geert+renesas@glider.be>,
David Gow <davidgow@google.com>,
"Masami Hiramatsu (Google)" <mhiramat@kernel.org>,
Jeff Johnson <quic_jjohnson@quicinc.com>,
Ard Biesheuvel <ardb@kernel.org>,
linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: Re: [PATCH] kunit/stackinit: Use fill byte different from Clang i386 pattern
Date: Wed, 5 Mar 2025 22:05:22 -0800 [thread overview]
Message-ID: <174124111820.371215.12037584866390434063.b4-ty@kernel.org> (raw)
In-Reply-To: <20250304225606.work.030-kees@kernel.org>
On Tue, 04 Mar 2025 14:56:11 -0800, Kees Cook wrote:
> The byte initialization values used with -ftrivial-auto-var-init=pattern
> (CONFIG_INIT_STACK_ALL_PATTERN=y) depends on the compiler, architecture,
> and byte position relative to struct member types. On i386 with Clang,
> this includes the 0xFF value, which means it looks like nothing changes
> between the leaf byte filling pass and the expected "stack wiping"
> pass of the stackinit test.
>
> [...]
Applied to for-next/move-kunit-tests.
[1/1] kunit/stackinit: Use fill byte different from Clang i386 pattern
https://git.kernel.org/kees/c/d985e4399adf
--
Kees Cook
prev parent reply other threads:[~2025-03-06 6:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-04 22:56 Kees Cook
2025-03-04 23:13 ` Justin Stitt
2025-03-04 23:56 ` Kees Cook
2025-03-05 15:12 ` Nathan Chancellor
2025-03-06 6:05 ` 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=174124111820.371215.12037584866390434063.b4-ty@kernel.org \
--to=kees@kernel.org \
--cc=ardb@kernel.org \
--cc=davidgow@google.com \
--cc=geert+renesas@glider.be \
--cc=justinstitt@google.com \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mhiramat@kernel.org \
--cc=morbo@google.com \
--cc=nathan@kernel.org \
--cc=quic_jjohnson@quicinc.com \
/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
all inboxes | Powered by JetHome®