Add the comment
authorAlexander Popov <alex.popov@linux.com>
Tue, 9 Nov 2021 16:46:18 +0000 (19:46 +0300)
committerAlexander Popov <alex.popov@linux.com>
Tue, 9 Nov 2021 16:46:18 +0000 (19:46 +0300)
kconfig_hardened_check/__init__.py

index 64cb479c5b00d15ed6ef7e0478d6ea1452a2e772..5ec5c7091e3d2f68600d97d2cc20c013b84a85e1 100644 (file)
@@ -285,6 +285,9 @@ def detect_version(fname):
 
 
 def construct_checklist(l, arch):
+    # Calling the OptCheck class constructor:
+    #     OptCheck(reason, decision, name, expected)
+
     modules_not_set = OptCheck('cut_attack_surface', 'kspp', 'MODULES', 'is not set')
     devmem_not_set = OptCheck('cut_attack_surface', 'kspp', 'DEVMEM', 'is not set') # refers to LOCKDOWN