Fix the reason and decision for CPU_SUP_INTEL 123/head
authorAlexander Popov <alex.popov@linux.com>
Tue, 30 Apr 2024 08:02:32 +0000 (11:02 +0300)
committerAlexander Popov <alex.popov@linux.com>
Tue, 30 Apr 2024 08:02:32 +0000 (11:02 +0300)
kernel_hardening_checker/checks.py

index 92e97afe5279a9495ef070063b1a6c5837cd81fb..47036d60dc4faaec92da80067ac26626b8f4d9f5 100644 (file)
@@ -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'