[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210208181259.hwmnoldx627jhvlm@treble>
Date: Mon, 8 Feb 2021 12:12:59 -0600
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: Borislav Petkov <bp@...e.de>
Cc: AC <achirvasub@...il.com>,
Andrey Ryabinin <aryabinin@...tuozzo.com>,
Alexander Potapenko <glider@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Marco Elver <elver@...gle.com>, Arnd Bergmann <arnd@...db.de>,
linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org,
kasan-dev@...glegroups.com, nborisov@...e.com,
seth.forshee@...onical.com, yamada.masahiro@...ionext.com
Subject: Re: [PATCH] x86/build: Disable CET instrumentation in the kernel for
32-bit too
On Mon, Feb 08, 2021 at 05:25:43PM +0100, Borislav Petkov wrote:
> On Mon, Feb 08, 2021 at 10:19:33AM -0500, AC wrote:
> > That did fix it, thank you!
>
> Thanks!
>
> ---
> From: Borislav Petkov <bp@...e.de>
> Date: Mon, 8 Feb 2021 16:43:30 +0100
> Subject: [PATCH] x86/build: Disable CET instrumentation in the kernel for 32-bit too
>
> Commit
>
> 20bf2b378729 ("x86/build: Disable CET instrumentation in the kernel")
>
> disabled CET instrumentation which gets added by default by the Ubuntu
> gcc9 and 10 by default, but did that only for 64-bit builds. It would
> still fail when building a 32-bit target. So disable CET for all x86
> builds.
>
> Fixes: 20bf2b378729 ("x86/build: Disable CET instrumentation in the kernel")
> Reported-by: AC <achirvasub@...il.com>
> Signed-off-by: Borislav Petkov <bp@...e.de>
> Tested-by: AC <achirvasub@...il.com>
> Link: https://lkml.kernel.org/r/YCCIgMHkzh/xT4ex@arch-chirva.localdomain
Acked-by: Josh Poimboeuf <jpoimboe@...hat.com>
--
Josh
Powered by blists - more mailing lists