From: Alexander Popov Date: Tue, 9 Nov 2021 16:46:18 +0000 (+0300) Subject: Add the comment X-Git-Tag: v0.5.17~44 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=e39d50813c129c3b17a12a981167e11e96081938;p=kconfig-hardened-check.git Add the comment --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 64cb479..5ec5c70 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -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