/openbmc/linux/tools/testing/selftests/powerpc/include/ |
H A D | pkeys.h | 21 #undef PKEY_DISABLE_WRITE 22 #define PKEY_DISABLE_WRITE 0x2 macro 114 if (amr_bits & PKEY_DISABLE_WRITE) \ 116 if (amr_bits & PKEY_DISABLE_ACCESS & ~PKEY_DISABLE_WRITE) \ 129 rights |= PKEY_DISABLE_WRITE; in next_pkey_rights() 130 else if ((rights & PKEY_BITS_MASK) == PKEY_DISABLE_WRITE) in next_pkey_rights()
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | protection-keys.rst | 55 pkey = pkey_alloc(0, PKEY_DISABLE_WRITE); 63 pkey_set(pkey, 0); // clear PKEY_DISABLE_WRITE 65 pkey_set(pkey, PKEY_DISABLE_WRITE); // set PKEY_DISABLE_WRITE again 85 pkey = pkey_alloc(0, PKEY_DISABLE_WRITE | PKEY_DISABLE_READ);
|
/openbmc/qemu/linux-headers/asm-generic/ |
H A D | mman-common.h | 86 #define PKEY_DISABLE_WRITE 0x2 macro 88 PKEY_DISABLE_WRITE)
|
/openbmc/linux/tools/include/uapi/asm-generic/ |
H A D | mman-common.h | 86 #define PKEY_DISABLE_WRITE 0x2 macro 88 PKEY_DISABLE_WRITE)
|
/openbmc/linux/include/uapi/asm-generic/ |
H A D | mman-common.h | 86 #define PKEY_DISABLE_WRITE 0x2 macro 88 PKEY_DISABLE_WRITE)
|
/openbmc/linux/arch/xtensa/include/uapi/asm/ |
H A D | mman.h | 120 #define PKEY_DISABLE_WRITE 0x2 macro 122 PKEY_DISABLE_WRITE)
|
/openbmc/linux/arch/parisc/include/uapi/asm/ |
H A D | mman.h | 82 #define PKEY_DISABLE_WRITE 0x2 macro 84 PKEY_DISABLE_WRITE)
|
/openbmc/linux/arch/alpha/include/uapi/asm/ |
H A D | mman.h | 85 #define PKEY_DISABLE_WRITE 0x2 macro 87 PKEY_DISABLE_WRITE)
|
/openbmc/linux/arch/mips/include/uapi/asm/ |
H A D | mman.h | 112 #define PKEY_DISABLE_WRITE 0x2 macro 114 PKEY_DISABLE_WRITE)
|
/openbmc/qemu/linux-headers/asm-mips/ |
H A D | mman.h | 112 #define PKEY_DISABLE_WRITE 0x2 macro 114 PKEY_DISABLE_WRITE)
|
/openbmc/linux/Documentation/core-api/ |
H A D | protection-keys.rst | 49 pkey = pkey_alloc(0, PKEY_DISABLE_WRITE); 57 pkey_set(pkey, 0); // clear PKEY_DISABLE_WRITE 59 pkey_set(pkey, PKEY_DISABLE_WRITE); // set PKEY_DISABLE_WRITE again 82 pkey = pkey_alloc(0, PKEY_DISABLE_WRITE | PKEY_DISABLE_READ);
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | pkey-powerpc.h | 19 #undef PKEY_DISABLE_WRITE 20 #define PKEY_DISABLE_WRITE 0x2 macro
|
H A D | pkey-x86.h | 22 #ifndef PKEY_DISABLE_WRITE 23 # define PKEY_DISABLE_WRITE 0x2 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() 282 pkey_disable_clear(pkey, PKEY_DISABLE_WRITE); in pkey_write_allow() 286 pkey_disable_set(pkey, PKEY_DISABLE_WRITE); in pkey_write_deny()
|
/openbmc/linux/tools/testing/selftests/powerpc/mm/ |
H A D | pkey_siginfo.c | 160 (rights == PKEY_DISABLE_WRITE) ? "write" : "read", in protect_access() 195 case PKEY_DISABLE_WRITE: in protect_access() 308 r.rights = PKEY_DISABLE_WRITE; in test()
|
/openbmc/linux/arch/powerpc/include/uapi/asm/ |
H A D | mman.h | 33 PKEY_DISABLE_WRITE |\
|
/openbmc/qemu/linux-headers/asm-powerpc/ |
H A D | mman.h | 33 PKEY_DISABLE_WRITE |\
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | pkeys.c | 119 (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_early_init_devtree() 366 else if (init_val & PKEY_DISABLE_WRITE) in __arch_set_user_pkey_access()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | pkeys.h | 23 PKEY_DISABLE_WRITE | \
|
/openbmc/linux/arch/x86/kernel/fpu/ |
H A D | xstate.c | 1028 if (init_val & PKEY_DISABLE_WRITE) in arch_set_user_pkey_access()
|