Check that CoreSight Tracing Support is disabled (to cut attack surface)
[kconfig-hardened-check.git] / kconfig_hardened_check / checks.py
index 60841e2fc12a8935e65ec0228d00e0609d8045dc..ff1ce79907724c55d1c2da8cdb80ef5cf203d79a 100644 (file)
@@ -390,6 +390,7 @@ def add_kconfig_checks(l, arch):
     l += [KconfigCheck('cut_attack_surface', 'my', 'INPUT_EVBUG', 'is not set')] # Can be used as a keylogger
     l += [KconfigCheck('cut_attack_surface', 'my', 'KGDB', 'is not set')]
     l += [KconfigCheck('cut_attack_surface', 'my', 'AIO', 'is not set')]
+    l += [KconfigCheck('cut_attack_surface', 'my', 'CORESIGHT', 'is not set')]
     l += [OR(KconfigCheck('cut_attack_surface', 'my', 'TRIM_UNUSED_KSYMS', 'y'),
              modules_not_set)]