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:
b06c8cd
)
INTEL_IOMMU is available for X86_32
author
Alexander Popov
<alex.popov@linux.com>
Wed, 18 Mar 2020 15:03:56 +0000
(18:03 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Wed, 18 Mar 2020 15:03:56 +0000
(18:03 +0300)
kconfig-hardened-check.py
patch
|
blob
|
history
diff --git
a/kconfig-hardened-check.py
b/kconfig-hardened-check.py
index 6963554eaeaa232ffbd091c63bde69eaa38ac733..6056f6221b9a9d37f7c3a373788d98bd67a2e2db 100755
(executable)
--- a/
kconfig-hardened-check.py
+++ b/
kconfig-hardened-check.py
@@
-331,6
+331,9
@@
def construct_checklist(checklist, arch):
iommu_support_is_set))
checklist.append(AND(OptCheck('INTEL_IOMMU_DEFAULT_ON', 'y', 'clipos', 'self_protection'), \
iommu_support_is_set))
+ if arch == 'X86_32':
+ checklist.append(AND(OptCheck('INTEL_IOMMU', 'y', 'clipos', 'self_protection'), \
+ iommu_support_is_set))
checklist.append(OptCheck('SLUB_DEBUG_ON', 'y', 'my', 'self_protection'))
checklist.append(OptCheck('RESET_ATTACK_MITIGATION', 'y', 'my', 'self_protection')) # needs userspace support (systemd)