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
(parent:
bd87b1d
)
Fix the reason and decision for CPU_SUP_INTEL
123/head
author
Alexander Popov
<alex.popov@linux.com>
Tue, 30 Apr 2024 08:02:32 +0000
(11:02 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Tue, 30 Apr 2024 08:02:32 +0000
(11:02 +0300)
kernel_hardening_checker/checks.py
patch
|
blob
|
history
diff --git
a/kernel_hardening_checker/checks.py
b/kernel_hardening_checker/checks.py
index 92e97afe5279a9495ef070063b1a6c5837cd81fb..47036d60dc4faaec92da80067ac26626b8f4d9f5 100644
(file)
--- a/
kernel_hardening_checker/checks.py
+++ b/
kernel_hardening_checker/checks.py
@@
-561,7
+561,7
@@
def add_cmdline_checks(l, arch):
l += [OR(CmdlineCheck('cut_attack_surface', 'defconfig', 'tsx', 'off'),
AND(KconfigCheck('cut_attack_surface', 'defconfig', 'X86_INTEL_TSX_MODE_OFF', 'y'),
tsx_not_set),
- AND(KconfigCheck('
cut_attack_surface', 'defconfig
', 'CPU_SUP_INTEL', 'is not set'),
+ AND(KconfigCheck('
-', '-
', 'CPU_SUP_INTEL', 'is not set'),
tsx_not_set))]
# 'cut_attack_surface', 'kspp'