projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f958a9d
)
Add the comments: CC_IS_GCC and CC_IS_CLANG exist since v4.18
author
Alexander Popov
<alex.popov@linux.com>
Sat, 24 Sep 2022 22:12:55 +0000
(
01:12
+0300)
committer
Alexander Popov
<alex.popov@linux.com>
Sat, 24 Sep 2022 22:12:55 +0000
(
01:12
+0300)
kconfig_hardened_check/__init__.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index de7408417e020e4e630ccfd3eac69d5497e9c54c..218e8fd7d8504ca08aa664edf8994a1e4a05e7e3 100644
(file)
--- 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')
# 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
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