[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166699219839.2165587.10773311882818616441.b4-ty@chromium.org>
Date: Fri, 28 Oct 2022 14:23:21 -0700
From: Kees Cook <keescook@...omium.org>
To: linux-kernel@...r.kernel.org, x86@...nel.org,
linux-kbuild@...r.kernel.org, xin3.li@...el.com,
llvm@...ts.linux.dev
Cc: Kees Cook <keescook@...omium.org>, nathan@...nel.org,
hpa@...or.com, peterz@...radead.org, andrew.cooper3@...rix.com
Subject: Re: [PATCH v2 0/1] kbuild: upgrade the orphan section warning to an error if CONFIG_WERROR is set
On Tue, 25 Oct 2022 00:30:22 -0700, Xin Li wrote:
> Andrew Cooper suggested upgrading the orphan section warning to a hard link
> error. However Nathan Chancellor said outright turning the warning into an
> error with no escape hatch might be too aggressive, as we have had these
> warnings triggered by new compiler generated sections, and suggested turning
> orphan sections into an error only if CONFIG_WERROR is set. Kees Cook echoed
> and emphasized that the mandate from Linus is that we should avoid breaking
> builds. It wrecks bisection, it causes problems across compiler versions, etc.
>
> [...]
Applied to for-next/hardening, thanks!
[1/1] kbuild: upgrade the orphan section warning to an error if CONFIG_WERROR is set
https://git.kernel.org/kees/c/450301ceb4e6
--
Kees Cook
Powered by blists - more mailing lists