Lines Matching refs:FAIL_IF
115 FAIL_IF(sigprocmask(SIG_SETMASK, 0, &segv_act.sa_mask) != 0); in test()
118 FAIL_IF(sigaction(SIGSEGV, &segv_act, NULL) != 0); in test()
123 FAIL_IF(sigprocmask(SIG_SETMASK, 0, &trap_act.sa_mask) != 0); in test()
126 FAIL_IF(sigaction(SIGTRAP, &trap_act, NULL) != 0); in test()
133 FAIL_IF(insns == MAP_FAILED); in test()
156 FAIL_IF(pkey < 0); in test()
179 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test()
183 FAIL_IF(remaining_faults != 0); in test()
196 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test()
200 FAIL_IF(remaining_faults != 0 || fault_code != SEGV_ACCERR); in test()
216 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test()
221 FAIL_IF(remaining_faults != 0 || fault_code != SEGV_PKUERR); in test()
233 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test()
238 FAIL_IF(remaining_faults != 0 || fault_code != SEGV_ACCERR); in test()
250 FAIL_IF(pkey < 0); in test()
270 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test()
274 FAIL_IF(remaining_faults != 0); in test()
276 FAIL_IF(fault_code != SEGV_PKUERR); in test()