File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ SUBDIR+= purecap \
1313 purecap-dynamic-mt \
1414 purecap-mt
1515
16- .if ${MACHINE_CPUARCH} == "aarch64" && ${ MACHINE_ABI :Mpurecap}
16+ .if ${MACHINE_ABI :Mpurecap}
1717SUBDIR+ = mt-c18n
1818.endif
1919.endif
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ check_initreg_code(void * __capability c)
172172 (CHERI_PERMS_SWALL & ~CHERI_PERM_SW_VMEM ));
173173
174174 /* Check that the raw permission bits match the kernel header: */
175- #if defined(CHERIBSD_C18N_TESTS ) && !defined(__ARM_MORELLO_PURECAP_BENCHMARK_ABI )
175+ #if defined(CHERIBSD_C18N_TESTS ) && defined( __aarch64__ ) && !defined(__ARM_MORELLO_PURECAP_BENCHMARK_ABI )
176176 if (v != (CHERI_CAP_USER_CODE_PERMS & ~CHERI_PERM_EXECUTIVE ))
177177 cheribsdtest_failure_errx ("perms %jx (expected %jx)" , v ,
178178 (uintmax_t )(CHERI_CAP_USER_CODE_PERMS & ~CHERI_PERM_EXECUTIVE ));
You can’t perform that action at this time.
0 commit comments