/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/ |
D | pkeys.h | 18 #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()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
D | mman-common.h | 51 #define PKEY_DISABLE_ACCESS 0x1 macro 53 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
D | mman-common.h | 78 #define PKEY_DISABLE_ACCESS 0x1 macro 80 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/ |
D | mman-common.h | 78 #define PKEY_DISABLE_ACCESS 0x1 macro 80 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
D | mman-common.h | 64 #define PKEY_DISABLE_ACCESS 0x1 macro 66 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)
|
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/ |
D | mman.h | 112 #define PKEY_DISABLE_ACCESS 0x1 macro 114 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/ |
D | mman.h | 77 #define PKEY_DISABLE_ACCESS 0x1 macro 79 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
D | mman.h | 104 #define PKEY_DISABLE_ACCESS 0x1 macro 106 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
D | mman.h | 73 #define PKEY_DISABLE_ACCESS 0x1 macro 75 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)
|
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/ |
D | mman.h | 75 #define PKEY_DISABLE_ACCESS 0x1 macro 77 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/ |
D | pkey_exec_prot.c | 74 case PKEY_DISABLE_ACCESS: in segv_handler() 203 rights |= PKEY_DISABLE_ACCESS; in test() 204 fault_type = PKEY_DISABLE_ACCESS; in test()
|
D | pkey_siginfo.c | 184 case PKEY_DISABLE_ACCESS: in protect_access() 300 r.rights = PKEY_DISABLE_ACCESS; in test()
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | pkey-powerpc.h | 19 #undef PKEY_DISABLE_ACCESS 20 #define PKEY_DISABLE_ACCESS 0x3 /* disable read and write */ macro
|
D | pkey-x86.h | 36 #ifndef PKEY_DISABLE_ACCESS 37 # define PKEY_DISABLE_ACCESS 0x1 macro
|
D | protection_keys.c | 190 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() 257 pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_disable_clear() 289 pkey_disable_clear(pkey, PKEY_DISABLE_ACCESS); in pkey_access_allow() 293 pkey_disable_set(pkey, PKEY_DISABLE_ACCESS); in pkey_access_deny()
|
D | pkey-helpers.h | 96 #define PKEY_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)
|
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/ |
D | mman.h | 32 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | pkeys.c | 111 (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_early_init_devtree() 307 if (init_val & PKEY_DISABLE_ACCESS) in __arch_set_user_pkey_access()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | pkeys.h | 22 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS | \
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | pkeys.c | 47 PKEY_DISABLE_ACCESS); in __execute_only_pkey()
|
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/ |
D | xstate.c | 1051 if (init_val & PKEY_DISABLE_ACCESS) in arch_set_user_pkey_access()
|