Home
last modified time | relevance | path

Searched refs:PKEY_DISABLE_EXECUTE (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/tools/testing/selftests/powerpc/include/
Dpkeys.h24 #undef PKEY_DISABLE_EXECUTE
25 #define PKEY_DISABLE_EXECUTE 0x4 macro
111 if ((r) & PKEY_DISABLE_EXECUTE) \
124 return PKEY_DISABLE_EXECUTE; in next_pkey_rights()
125 else if (rights == (PKEY_DISABLE_ACCESS | PKEY_DISABLE_EXECUTE)) in next_pkey_rights()
/Linux-v5.10/tools/testing/selftests/powerpc/mm/
Dpkey_exec_prot.c77 case PKEY_DISABLE_EXECUTE: in segv_handler()
154 rights = PKEY_DISABLE_EXECUTE; in test()
265 if (rights & PKEY_DISABLE_EXECUTE) { in test()
266 fault_type = PKEY_DISABLE_EXECUTE; in test()
275 if (rights & PKEY_DISABLE_EXECUTE) in test()
Dpkey_siginfo.c82 if (rights == PKEY_DISABLE_EXECUTE && in segv_handler()
159 (rights == PKEY_DISABLE_EXECUTE) ? "execute" : in protect_access()
205 case PKEY_DISABLE_EXECUTE: in protect_access()
316 r.rights = PKEY_DISABLE_EXECUTE; in test()
/Linux-v5.10/arch/powerpc/include/uapi/asm/
Dmman.h30 #define PKEY_DISABLE_EXECUTE 0x4 macro
34 PKEY_DISABLE_EXECUTE)
/Linux-v5.10/arch/powerpc/include/asm/
Dpkeys.h21 #define PKEY_DISABLE_EXECUTE 0x4 macro
24 PKEY_DISABLE_EXECUTE)
/Linux-v5.10/tools/testing/selftests/powerpc/ptrace/
Dptrace-pkey.c23 #ifndef PKEY_DISABLE_EXECUTE
24 #define PKEY_DISABLE_EXECUTE 0x4 macro
82 pkey1 = sys_pkey_alloc(0, PKEY_DISABLE_EXECUTE); in child()
Dcore-pkey.c32 #ifndef PKEY_DISABLE_EXECUTE
33 #define PKEY_DISABLE_EXECUTE 0x4 macro
125 pkey1 = sys_pkey_alloc(0, PKEY_DISABLE_EXECUTE); in child()
/Linux-v5.10/arch/powerpc/mm/book3s64/
Dpkeys.c110 BUILD_BUG_ON(PKEY_DISABLE_EXECUTE & in pkey_early_init_devtree()
299 if (init_val & PKEY_DISABLE_EXECUTE) { in __arch_set_user_pkey_access()