Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/tools/testing/selftests/powerpc/include/
Dpkeys.h28 #ifndef SEGV_PKUERR
29 #define SEGV_PKUERR 4 macro
/linux-6.6.21/include/uapi/asm-generic/
Dsiginfo.h238 # define SEGV_PKUERR 4 /* failed protection key checks */ macro
/linux-6.6.21/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-6.6.21/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-6.6.21/tools/testing/selftests/mm/
Dprotection_keys.c305 if (si_code == SEGV_PKUERR) in si_code_str()
/linux-6.6.21/arch/powerpc/kernel/
Dtraps.c362 if (!exception_common(SIGSEGV, regs, SEGV_PKUERR, addr)) in _exception_pkey()