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:
dbbe0f0
)
Debug mode output should be printed before the final results
author
Alexander Popov
<alex.popov@linux.com>
Fri, 20 Jul 2018 16:06:18 +0000
(19:06 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Fri, 20 Jul 2018 16:06:18 +0000
(19:06 +0300)
kconfig-hardened-check.py
patch
|
blob
|
history
diff --git
a/kconfig-hardened-check.py
b/kconfig-hardened-check.py
index 08755c30055da0326c00b537bd4739870b6cea83..07c71d6b60b95d3005ec4e263ae408e7eaf3ebbe 100755
(executable)
--- a/
kconfig-hardened-check.py
+++ b/
kconfig-hardened-check.py
@@
-215,13
+215,14
@@
def check_config_file(fname):
parsed_options[option] = value
perform_checks(parsed_options)
- print_check_results()
if debug_mode:
opt_list_names = [opt[0].name for opt in opt_list]
for option in filter(lambda option: option not in opt_list_names, parsed_options.keys()):
print("DEBUG: dunno about option {} ".format(option))
+ print_check_results()
+
if __name__ == '__main__':
parser = ArgumentParser(description='Checks the hardening options in the Linux kernel config')