[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202503080922.AB2CF7C9@keescook>
Date: Sat, 8 Mar 2025 09:23:20 -0800
From: Kees Cook <kees@...nel.org>
To: Nathan Chancellor <nathan@...nel.org>
Cc: Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Paul Moore <paul@...l-moore.com>, James Morris <jmorris@...ei.org>,
"Serge E. Hallyn" <serge@...lyn.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Bill Wendling <morbo@...gle.com>,
Justin Stitt <justinstitt@...gle.com>, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org,
linux-security-module@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH v2 1/2] x86/build: Remove -ffreestanding on i386 with GCC
On Sat, Mar 08, 2025 at 10:17:46AM +0100, Nathan Chancellor wrote:
> On Fri, Mar 07, 2025 at 08:29:25PM -0800, Kees Cook wrote:
> > The use of -ffreestanding is a leftover that is only needed for certain
> > versions of Clang. Adjust this to be Clang-only. A later patch will make
> > this a versioned check.
> >
> > Signed-off-by: Kees Cook <kees@...nel.org>
>
> This could also adjust the comment but it is probably not that big of a
> deal since the "temporary" is already pretty stale.
Ah yeah, good call. I'll fix that up locally.
>
> Reviewed-by: Nathan Chancellor <nathan@...nel.org>
Thanks!
-Kees
--
Kees Cook
Powered by blists - more mailing lists