diff options
author | Borislav Petkov | 2021-02-08 16:43:30 +0100 |
---|---|---|
committer | Borislav Petkov | 2021-02-09 11:23:47 +0100 |
commit | 256b92af784d5043eeb7d559b6d5963dcc2ecb10 (patch) | |
tree | 16799aeb136741b9a47c2565d0f058954618cbb7 /arch/x86/pci | |
parent | 2ade0d60939bcd54197c133b03b460fe62a4ec47 (diff) |
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@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Tested-by: AC <achirvasub@gmail.com>
Link: https://lkml.kernel.org/r/YCCIgMHkzh/xT4ex@arch-chirva.localdomain
Diffstat (limited to 'arch/x86/pci')
0 files changed, 0 insertions, 0 deletions