/openbmc/linux/tools/testing/selftests/powerpc/include/ |
H A 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()
|
/openbmc/qemu/linux-headers/asm-generic/ |
H A D | mman-common.h | 85 #define PKEY_DISABLE_ACCESS 0x1 macro 87 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/openbmc/linux/tools/include/uapi/asm-generic/ |
H A D | mman-common.h | 85 #define PKEY_DISABLE_ACCESS 0x1 macro 87 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/openbmc/linux/include/uapi/asm-generic/ |
H A D | mman-common.h | 85 #define PKEY_DISABLE_ACCESS 0x1 macro 87 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/openbmc/linux/arch/xtensa/include/uapi/asm/ |
H A D | mman.h | 119 #define PKEY_DISABLE_ACCESS 0x1 macro 121 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/openbmc/linux/arch/parisc/include/uapi/asm/ |
H A D | mman.h | 81 #define PKEY_DISABLE_ACCESS 0x1 macro 83 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/openbmc/linux/arch/alpha/include/uapi/asm/ |
H A D | mman.h | 84 #define PKEY_DISABLE_ACCESS 0x1 macro 86 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/openbmc/linux/arch/mips/include/uapi/asm/ |
H A D | mman.h | 111 #define PKEY_DISABLE_ACCESS 0x1 macro 113 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/openbmc/qemu/linux-headers/asm-mips/ |
H A D | mman.h | 111 #define PKEY_DISABLE_ACCESS 0x1 macro 113 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | pkey-powerpc.h | 16 #undef PKEY_DISABLE_ACCESS 17 #define PKEY_DISABLE_ACCESS 0x3 /* disable read and write */ macro
|
H A D | pkey-x86.h | 18 #ifndef PKEY_DISABLE_ACCESS 19 # define PKEY_DISABLE_ACCESS 0x1 macro
|
H A D | pkey-helpers.h | 98 #define PKEY_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)
|
H A D | protection_keys.c | 191 u32 mask = (PKEY_DISABLE_ACCESS|PKEY_DISABLE_WRITE); in hw_pkey_set() 219 pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_disable_set() 258 pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_disable_clear() 290 pkey_disable_clear(pkey, PKEY_DISABLE_ACCESS); in pkey_access_allow() 294 pkey_disable_set(pkey, PKEY_DISABLE_ACCESS); in pkey_access_deny()
|
/openbmc/linux/tools/testing/selftests/powerpc/mm/ |
H A 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()
|
H A D | pkey_siginfo.c | 184 case PKEY_DISABLE_ACCESS: in protect_access() 300 r.rights = PKEY_DISABLE_ACCESS; in test()
|
/openbmc/linux/arch/powerpc/include/uapi/asm/ |
H A D | mman.h | 32 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/openbmc/qemu/linux-headers/asm-powerpc/ |
H A D | mman.h | 32 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | pkeys.c | 119 (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_early_init_devtree() 364 if (init_val & PKEY_DISABLE_ACCESS) in __arch_set_user_pkey_access()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | pkeys.h | 22 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS | \
|
/openbmc/linux/arch/x86/mm/ |
H A D | pkeys.c | 46 PKEY_DISABLE_ACCESS); in __execute_only_pkey()
|
/openbmc/linux/arch/x86/kernel/fpu/ |
H A D | xstate.c | 1026 if (init_val & PKEY_DISABLE_ACCESS) in arch_set_user_pkey_access()
|