Check disabling XFS_SUPPORT_V4 for cutting attack surface
[kconfig-hardened-check.git] / kconfig_hardened_check / checks.py
index 3a58c7034683a4e90d9d78b28ea146717898a313..d857ad132c5658f04641564208920c0feea2a95e 100644 (file)
@@ -365,6 +365,7 @@ def add_kconfig_checks(l, arch):
     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 += [KconfigCheck('cut_attack_surface', 'my', 'XFS_SUPPORT_V4', 'is not set')]
     l += [OR(KconfigCheck('cut_attack_surface', 'my', 'TRIM_UNUSED_KSYMS', 'y'),
              modules_not_set)]