+ if debug_mode or arch == 'X86_64' or arch == 'ARM64' or arch == 'X86_32':
+ checklist.append(OptCheck('THREAD_INFO_IN_TASK', 'y', 'defconfig', 'self_protection'))
+ if debug_mode or arch == 'ARM':
+ checklist.append(OptCheck('VMSPLIT_3G', 'y', 'defconfig', 'self_protection'))
+ checklist.append(OptCheck('CPU_SW_DOMAIN_PAN', 'y', 'defconfig', 'self_protection'))
+ if debug_mode or arch == 'ARM64' or arch == 'ARM':
+ checklist.append(OptCheck('REFCOUNT_FULL', 'y', 'defconfig', 'self_protection'))