Home
last modified time | relevance | path

Searched refs:SEGV_PKUERR (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
H A Dpkey_exec_prot.c67 case SEGV_PKUERR: in segv_handler()
164 /* The following two cases will avoid SEGV_PKUERR */ in test()
202 /* The following three cases will generate SEGV_PKUERR */ in test()
221 FAIL_IF(remaining_faults != 0 || fault_code != SEGV_PKUERR); in test()
276 FAIL_IF(fault_code != SEGV_PKUERR); in test()
H A Dpkey_siginfo.c44 if (sinfo->si_code != SEGV_PKUERR) { in segv_handler()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/
H A Dpkey_exec_prot.c67 case SEGV_PKUERR: in segv_handler()
164 /* The following two cases will avoid SEGV_PKUERR */ in test()
202 /* The following three cases will generate SEGV_PKUERR */ in test()
221 FAIL_IF(remaining_faults != 0 || fault_code != SEGV_PKUERR); in test()
276 FAIL_IF(fault_code != SEGV_PKUERR); in test()
H A Dexec_prot.c39 if (fault_code == SEGV_PKUERR && pkeys_supported) in is_fault_expected()
H A Dpkey_siginfo.c44 if (sinfo->si_code != SEGV_PKUERR) { in segv_handler()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/
H A Dpkeys.h28 #ifndef SEGV_PKUERR
29 #define SEGV_PKUERR 4 macro
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/include/
H A Dpkeys.h28 #ifndef SEGV_PKUERR
29 #define SEGV_PKUERR 4 macro
/kernel/linux/linux-5.10/include/uapi/asm-generic/
H A Dsiginfo.h89 /* used when si_code=SEGV_PKUERR */
227 # define SEGV_PKUERR 4 /* failed protection key checks */ macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
H A Dsiginfo.h179 # define SEGV_PKUERR 4 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
H A Dsiginfo.h177 #define SEGV_PKUERR 4 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/
H A Dsiginfo.h177 #define SEGV_PKUERR 4 macro
/kernel/linux/linux-6.6/arch/x86/mm/
H A Dfault.c740 if (si_code == SEGV_PKUERR) { in kernelmode_fixup_or_oops()
845 if (si_code == SEGV_PKUERR) in __bad_area_nosemaphore()
923 __bad_area(regs, error_code, address, pkey, SEGV_PKUERR); in bad_area_access_error()
/kernel/linux/linux-6.6/include/uapi/asm-generic/
H A Dsiginfo.h93 /* used when si_code=SEGV_PKUERR */
238 # define SEGV_PKUERR 4 /* failed protection key checks */ macro
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dprotection_keys.c8 * * how to handle SEGV_PKUERR signals and extract pkey-relevant
301 #ifndef SEGV_PKUERR
302 # define SEGV_PKUERR 4 macro
313 if (si_code == SEGV_PKUERR) in si_code_str()
314 return "SEGV_PKUERR"; in si_code_str()
/kernel/linux/linux-5.10/arch/x86/mm/
H A Dfault.c829 if (si_code == SEGV_PKUERR) in __bad_area_nosemaphore()
921 __bad_area(regs, error_code, address, pkey, SEGV_PKUERR); in bad_area_access_error()
/kernel/linux/linux-5.10/kernel/
H A Dsignal.c1751 #ifdef SEGV_PKUERR
1759 info.si_code = SEGV_PKUERR; in force_sig_pkuerr()
3177 #ifdef SEGV_PKUERR in siginfo_layout()
3178 else if ((sig == SIGSEGV) && (si_code == SEGV_PKUERR)) in siginfo_layout()
/kernel/linux/linux-6.6/kernel/
H A 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()
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dprotection_keys.c8 * * how to handle SEGV_PKUERR signals and extract pkey-relevant
305 if (si_code == SEGV_PKUERR) in si_code_str()
306 return "SEGV_PKUERR"; in si_code_str()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dtraps.c361 if (!exception_common(SIGSEGV, regs, SEGV_PKUERR, addr)) in _exception_pkey()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dtraps.c362 if (!exception_common(SIGSEGV, regs, SEGV_PKUERR, addr)) in _exception_pkey()

Completed in 29 milliseconds