diff options
author | Borislav Petkov <bp@suse.de> | 2021-02-08 16:43:30 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-23 13:58:13 +0100 |
commit | 0769ec67ae0a37a1ae4bbcb709bcb20e7cbbffce (patch) | |
tree | 54b4b112462c1c6e7d112ef727e52afb53e8c4ce /scripts | |
parent | 15da94e7ae338690bbdb4d6f89dae6624bd176c9 (diff) | |
download | linux-stable-0769ec67ae0a37a1ae4bbcb709bcb20e7cbbffce.tar.gz linux-stable-0769ec67ae0a37a1ae4bbcb709bcb20e7cbbffce.tar.bz2 linux-stable-0769ec67ae0a37a1ae4bbcb709bcb20e7cbbffce.zip |
x86/build: Disable CET instrumentation in the kernel for 32-bit too
commit 256b92af784d5043eeb7d559b6d5963dcc2ecb10 upstream.
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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions