From: Alexander Popov Date: Sat, 24 Sep 2022 22:12:55 +0000 (+0300) Subject: Add the comments: CC_IS_GCC and CC_IS_CLANG exist since v4.18 X-Git-Tag: v0.6.1~90 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=da3daebde9537381f2acc49b5d959fdd7312cde5;p=kconfig-hardened-check.git Add the comments: CC_IS_GCC and CC_IS_CLANG exist since v4.18 --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index de74084..218e8fd 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -332,8 +332,8 @@ def add_kconfig_checks(l, arch): # when the tool doesn't check the cmdline. efi_not_set = KconfigCheck('-', '-', 'EFI', 'is not set') - cc_is_gcc = KconfigCheck('-', '-', 'CC_IS_GCC', 'y') - cc_is_clang = KconfigCheck('-', '-', 'CC_IS_CLANG', 'y') + cc_is_gcc = KconfigCheck('-', '-', 'CC_IS_GCC', 'y') # exists since v4.18 + cc_is_clang = KconfigCheck('-', '-', 'CC_IS_CLANG', 'y') # exists since v4.18 modules_not_set = KconfigCheck('cut_attack_surface', 'kspp', 'MODULES', 'is not set') devmem_not_set = KconfigCheck('cut_attack_surface', 'kspp', 'DEVMEM', 'is not set') # refers to LOCKDOWN