Searched refs:fault_code (Results 1 – 3 of 3) sorted by relevance
26 static volatile sig_atomic_t fault_code; variable33 static bool is_fault_expected(int fault_code) in is_fault_expected() argument35 if (fault_code == SEGV_ACCERR) in is_fault_expected()39 if (fault_code == SEGV_PKUERR && pkeys_supported) in is_fault_expected()56 fault_code = sinfo->si_code; in segv_handler()72 if (is_fault_expected(fault_code)) { in segv_handler()93 fault_code = -1; in check_exec_fault()103 FAIL_IF(!is_fault_expected(fault_code)); in check_exec_fault()170 fault_code = -1; in test()175 FAIL_IF(remaining_faults != 0 || !is_fault_expected(fault_code)); in test()[all …]
28 static volatile int fault_code; variable34 fault_code = info->si_code; in segv_handler()43 fault_code = 0; in bad_access()59 FAIL_IF(fault_code == SEGV_MAPERR && \ in bad_access()62 FAIL_IF(fault_code != SEGV_MAPERR && fault_code != SEGV_BNDERR); in bad_access()
24 static volatile sig_atomic_t fault_pkey, fault_code, fault_type; variable44 fault_code = sinfo->si_code; in segv_handler()60 switch (fault_code) { in segv_handler()200 FAIL_IF(remaining_faults != 0 || fault_code != SEGV_ACCERR); in test()221 FAIL_IF(remaining_faults != 0 || fault_code != SEGV_PKUERR); in test()238 FAIL_IF(remaining_faults != 0 || fault_code != SEGV_ACCERR); in test()276 FAIL_IF(fault_code != SEGV_PKUERR); in test()
Completed in 16 milliseconds