Commit 3b162ae5 by Alexander Popov

Fix 'decision' -- CONFIG_INTEGRITY is not enabled by default on ARM

parent 1648343d
...@@ -493,7 +493,10 @@ def construct_checklist(l, arch): ...@@ -493,7 +493,10 @@ def construct_checklist(l, arch):
l += [OptCheck('cut_attack_surface', 'my', 'INPUT_EVBUG', 'is not set')] # Can be used as a keylogger l += [OptCheck('cut_attack_surface', 'my', 'INPUT_EVBUG', 'is not set')] # Can be used as a keylogger
# 'userspace_hardening' # 'userspace_hardening'
l += [OptCheck('userspace_hardening', 'defconfig', 'INTEGRITY', 'y')] if arch in ('X86_64', 'ARM64', 'X86_32'):
l += [OptCheck('userspace_hardening', 'defconfig', 'INTEGRITY', 'y')]
if arch == 'ARM':
l += [OptCheck('userspace_hardening', 'my', 'INTEGRITY', 'y')]
if arch in ('ARM', 'X86_32'): if arch in ('ARM', 'X86_32'):
l += [OptCheck('userspace_hardening', 'defconfig', 'VMSPLIT_3G', 'y')] l += [OptCheck('userspace_hardening', 'defconfig', 'VMSPLIT_3G', 'y')]
if arch in ('X86_64', 'ARM64'): if arch in ('X86_64', 'ARM64'):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment