Centos-kernel-stream-9/scripts/gcc-plugins
Bandan Das c2fc69a8f7 gcc-plugins/stackleak: Avoid .head.text section
JIRA: https://issues.redhat.com/browse/RHEL-39439

commit e7d24c0aa8e678f41457d1304e2091cac6fd1a2e
Author: Ard Biesheuvel <ardb@kernel.org>
Date:   Thu Mar 28 07:42:57 2024 +0100

    gcc-plugins/stackleak: Avoid .head.text section

    The .head.text section carries the startup code that runs with the MMU
    off or with a translation of memory that deviates from the ordinary one.
    So avoid instrumentation with the stackleak plugin, which already avoids
    .init.text and .noinstr.text entirely.

    Fixes: 48204aba801f1b51 ("x86/sme: Move early SME kernel encryption handling into .head.text")
    Reported-by: kernel test robot <oliver.sang@intel.com>
    Closes: https://lore.kernel.org/oe-lkp/202403221630.2692c998-oliver.sang@intel.com
    Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
    Link: https://lore.kernel.org/r/20240328064256.2358634-2-ardb+git@google.com
    Signed-off-by: Kees Cook <keescook@chromium.org>

Signed-off-by: Bandan Das <bsd@redhat.com>
2024-07-23 13:47:51 -04:00
..
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig randstruct: Reorganize Kconfigs and attribute macros 2024-03-20 09:42:34 -04:00
Makefile kbuild: rebuild GCC plugins when the compiler is upgraded 2021-03-11 14:40:50 +09:00
arm_ssp_per_task_plugin.c
cyc_complexity_plugin.c gcc-plugins: Replace HTTP links with HTTPS ones 2020-07-13 09:29:09 -07:00
gcc-common.h gcc-plugins: remove code for GCC versions older than 4.9 2020-12-04 14:09:41 -08:00
gcc-generate-gimple-pass.h gcc-plugins: remove code for GCC versions older than 4.9 2020-12-04 14:09:41 -08:00
gcc-generate-ipa-pass.h gcc-plugins: remove code for GCC versions older than 4.9 2020-12-04 14:09:41 -08:00
gcc-generate-rtl-pass.h gcc-plugins: remove code for GCC versions older than 4.9 2020-12-04 14:09:41 -08:00
gcc-generate-simple_ipa-pass.h gcc-plugins: remove code for GCC versions older than 4.9 2020-12-04 14:09:41 -08:00
gen-random-seed.sh
latent_entropy_plugin.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_385.RULE 2023-09-28 15:09:14 -04:00
randomize_layout_plugin.c security: don't treat structure as an array of struct hlist_head 2023-05-04 15:29:19 +02:00
sancov_plugin.c gcc-plugins: remove code for GCC versions older than 4.9 2020-12-04 14:09:41 -08:00
stackleak_plugin.c gcc-plugins/stackleak: Avoid .head.text section 2024-07-23 13:47:51 -04:00
structleak_plugin.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_385.RULE 2023-09-28 15:09:14 -04:00