/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/ |
H A D | pkey_exec_prot.c | 67 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 D | pkey_siginfo.c | 44 if (sinfo->si_code != SEGV_PKUERR) { in segv_handler()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/ |
H A D | pkey_exec_prot.c | 67 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 D | exec_prot.c | 39 if (fault_code == SEGV_PKUERR && pkeys_supported) in is_fault_expected()
|
H A D | pkey_siginfo.c | 44 if (sinfo->si_code != SEGV_PKUERR) { in segv_handler()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/ |
H A D | pkeys.h | 28 #ifndef SEGV_PKUERR 29 #define SEGV_PKUERR 4 macro
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/include/ |
H A D | pkeys.h | 28 #ifndef SEGV_PKUERR 29 #define SEGV_PKUERR 4 macro
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
H A D | siginfo.h | 89 /* 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 D | siginfo.h | 179 # define SEGV_PKUERR 4 macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
H A D | siginfo.h | 177 #define SEGV_PKUERR 4 macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/ |
H A D | siginfo.h | 177 #define SEGV_PKUERR 4 macro
|
/kernel/linux/linux-6.6/arch/x86/mm/ |
H A D | fault.c | 740 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 D | siginfo.h | 93 /* 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 D | protection_keys.c | 8 * * 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 D | fault.c | 829 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 D | signal.c | 1751 #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 D | signal.c | 1809 #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 D | protection_keys.c | 8 * * 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 D | traps.c | 361 if (!exception_common(SIGSEGV, regs, SEGV_PKUERR, addr)) in _exception_pkey()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | traps.c | 362 if (!exception_common(SIGSEGV, regs, SEGV_PKUERR, addr)) in _exception_pkey()
|