+ if arch in ('X86_64', 'ARM64', 'X86_32'):
+ l += [OptCheck('self_protection', 'defconfig', 'RANDOMIZE_BASE', 'y')]
+ l += [OptCheck('self_protection', 'defconfig', 'THREAD_INFO_IN_TASK', 'y')]
+ if arch in ('X86_64', 'ARM64'):
+ l += [OptCheck('self_protection', 'defconfig', 'VMAP_STACK', 'y')]