projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f54f76
)
Add the comment
author
Alexander Popov
<alex.popov@linux.com>
Tue, 9 Nov 2021 16:46:18 +0000
(19:46 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Tue, 9 Nov 2021 16:46:18 +0000
(19:46 +0300)
kconfig_hardened_check/__init__.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index 64cb479c5b00d15ed6ef7e0478d6ea1452a2e772..5ec5c7091e3d2f68600d97d2cc20c013b84a85e1 100644
(file)
--- 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