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:
f9438fc
)
Add the recommendation about TRIM_UNUSED_KSYMS
author
Alexander Popov
<alex.popov@linux.com>
Thu, 22 Oct 2020 19:46:27 +0000
(22:46 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Thu, 22 Oct 2020 19:46:27 +0000
(22: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 eb256de8b2e95b47ede1045bbbab2535d7886f2b..5873a7994faa0324a487f674dfedfe14676e3109 100644
(file)
--- a/
kconfig_hardened_check/__init__.py
+++ b/
kconfig_hardened_check/__init__.py
@@
-509,6
+509,7
@@
def construct_checklist(l, arch):
l += [OptCheck('cut_attack_surface', 'lockdown', 'MMIOTRACE_TEST', 'is not set')] # refers to LOCKDOWN
# 'cut_attack_surface', 'my'
+ l += [OptCheck('cut_attack_surface', 'my', 'TRIM_UNUSED_KSYMS', 'y')]
l += [OptCheck('cut_attack_surface', 'my', 'MMIOTRACE', 'is not set')] # refers to LOCKDOWN (permissive)
l += [OptCheck('cut_attack_surface', 'my', 'LIVEPATCH', 'is not set')]
l += [OptCheck('cut_attack_surface', 'my', 'IP_DCCP', 'is not set')]