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:
39077d8
)
Minor fixes for the script output
author
Alexander Popov
<alex.popov@linux.com>
Mon, 30 Jul 2018 20:06:05 +0000
(23:06 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Mon, 30 Jul 2018 20:06:05 +0000
(23:06 +0300)
kconfig-hardened-check.py
patch
|
blob
|
history
diff --git
a/kconfig-hardened-check.py
b/kconfig-hardened-check.py
index ac9ee3ac2ebf27e86b48453303222ae16f90cd49..791a2f8b6c921e9492f1ffaa36ee6b9499dccaec 100755
(executable)
--- a/
kconfig-hardened-check.py
+++ b/
kconfig-hardened-check.py
@@
-216,10
+216,10
@@
def print_checklist():
print('[+] Printing kernel hardening preferences...')
print(' {:<39}|{:^13}|{:^10}|{:^20}'.format(
'option name', 'desired val', 'decision', 'reason'))
- print(' ' + '=' * 8
8
)
+ print(' ' + '=' * 8
6
)
for opt in checklist:
print(' CONFIG_{:<32}|{:^13}|{:^10}|{:^20}'.format(
-
opt.name, opt.expected, opt.decision, opt.reason))
+ opt.name, opt.expected, opt.decision, opt.reason))
print()