Home
last modified time | relevance | path

Searched refs:SEGV_PKUERR (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/tools/testing/selftests/powerpc/mm/
Dpkey_exec_prot.c67 case SEGV_PKUERR: in segv_handler()
221 FAIL_IF(remaining_faults != 0 || fault_code != SEGV_PKUERR); in test()
276 FAIL_IF(fault_code != SEGV_PKUERR); in test()
Dexec_prot.c39 if (fault_code == SEGV_PKUERR && pkeys_supported) in is_fault_expected()
Dpkey_siginfo.c44 if (sinfo->si_code != SEGV_PKUERR) { in segv_handler()
/Linux-v6.6/tools/testing/selftests/powerpc/include/
Dpkeys.h28 #ifndef SEGV_PKUERR
29 #define SEGV_PKUERR 4 macro
/Linux-v6.6/include/uapi/asm-generic/
Dsiginfo.h238 # define SEGV_PKUERR 4 /* failed protection key checks */ macro
/Linux-v6.6/arch/x86/mm/
Dfault.c740 if (si_code == SEGV_PKUERR) { in kernelmode_fixup_or_oops()
854 if (si_code == SEGV_PKUERR) in __bad_area_nosemaphore()
932 __bad_area(regs, error_code, address, pkey, SEGV_PKUERR); in bad_area_access_error()
/Linux-v6.6/kernel/
Dsignal.c1809 #ifdef SEGV_PKUERR
1817 info.si_code = SEGV_PKUERR; in force_sig_pkuerr()
3327 #ifdef SEGV_PKUERR in siginfo_layout()
3328 else if ((sig == SIGSEGV) && (si_code == SEGV_PKUERR)) in siginfo_layout()
/Linux-v6.6/tools/testing/selftests/mm/
Dprotection_keys.c305 if (si_code == SEGV_PKUERR) in si_code_str()
/Linux-v6.6/arch/powerpc/kernel/
Dtraps.c362 if (!exception_common(SIGSEGV, regs, SEGV_PKUERR, addr)) in _exception_pkey()