Home
last modified time | relevance | path

Searched refs:PKEY_DISABLE_ACCESS (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/tools/testing/selftests/powerpc/include/
Dpkeys.h18 #undef PKEY_DISABLE_ACCESS
19 #define PKEY_DISABLE_ACCESS 0x3 macro
116 if (amr_bits & PKEY_DISABLE_ACCESS & ~PKEY_DISABLE_WRITE) \
123 if (rights == PKEY_DISABLE_ACCESS) in next_pkey_rights()
125 else if (rights == (PKEY_DISABLE_ACCESS | PKEY_DISABLE_EXECUTE)) in next_pkey_rights()
131 rights |= PKEY_DISABLE_ACCESS; in next_pkey_rights()
/linux-6.12.1/tools/testing/selftests/mm/
Dmseal_helpers.h23 #ifndef PKEY_DISABLE_ACCESS
24 #define PKEY_DISABLE_ACCESS 0x1 macro
36 #define PKEY_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)
Dpkey-powerpc.h19 #undef PKEY_DISABLE_ACCESS
20 #define PKEY_DISABLE_ACCESS 0x3 /* disable read and write */ macro
Dpkey-arm64.h101 if (flags & PKEY_DISABLE_ACCESS) in set_pkey_bits()
123 return PKEY_DISABLE_ACCESS; in get_pkey_bits()
Dpkey-x86.h22 #ifndef PKEY_DISABLE_ACCESS
23 # define PKEY_DISABLE_ACCESS 0x1 macro
Dprotection_keys.c191 u32 mask = (PKEY_DISABLE_ACCESS|PKEY_DISABLE_WRITE); in hw_pkey_set()
218 pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_disable_set()
254 pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_disable_clear()
284 pkey_disable_clear(pkey, PKEY_DISABLE_ACCESS); in pkey_access_allow()
288 pkey_disable_set(pkey, PKEY_DISABLE_ACCESS); in pkey_access_deny()
Dpkey-helpers.h112 #define PKEY_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)
/linux-6.12.1/tools/include/uapi/asm-generic/
Dmman-common.h85 #define PKEY_DISABLE_ACCESS 0x1 macro
87 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
/linux-6.12.1/include/uapi/asm-generic/
Dmman-common.h85 #define PKEY_DISABLE_ACCESS 0x1 macro
87 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
/linux-6.12.1/arch/mips/include/uapi/asm/
Dmman.h111 #define PKEY_DISABLE_ACCESS 0x1 macro
113 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
/linux-6.12.1/arch/xtensa/include/uapi/asm/
Dmman.h119 #define PKEY_DISABLE_ACCESS 0x1 macro
121 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
/linux-6.12.1/arch/parisc/include/uapi/asm/
Dmman.h81 #define PKEY_DISABLE_ACCESS 0x1 macro
83 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
/linux-6.12.1/arch/alpha/include/uapi/asm/
Dmman.h84 #define PKEY_DISABLE_ACCESS 0x1 macro
86 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
/linux-6.12.1/tools/testing/selftests/powerpc/mm/
Dpkey_exec_prot.c74 case PKEY_DISABLE_ACCESS: in segv_handler()
203 rights |= PKEY_DISABLE_ACCESS; in test()
204 fault_type = PKEY_DISABLE_ACCESS; in test()
Dpkey_siginfo.c184 case PKEY_DISABLE_ACCESS: in protect_access()
300 r.rights = PKEY_DISABLE_ACCESS; in test()
/linux-6.12.1/arch/arm64/include/uapi/asm/
Dmman.h14 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
/linux-6.12.1/arch/powerpc/include/uapi/asm/
Dmman.h32 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dpkeys.c120 (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_early_init_devtree()
365 if (init_val & PKEY_DISABLE_ACCESS) in __arch_set_user_pkey_access()
/linux-6.12.1/arch/powerpc/include/asm/
Dpkeys.h22 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS | \
/linux-6.12.1/arch/x86/mm/
Dpkeys.c46 PKEY_DISABLE_ACCESS); in __execute_only_pkey()
/linux-6.12.1/arch/x86/kernel/fpu/
Dxstate.c1043 if (init_val & PKEY_DISABLE_ACCESS) in arch_set_user_pkey_access()
/linux-6.12.1/arch/arm64/mm/
Dmmu.c1576 if (init_val & PKEY_DISABLE_ACCESS) in arch_set_user_pkey_access()