/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/ |
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()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
D | mman-common.h | 52 #define PKEY_DISABLE_WRITE 0x2 macro 54 PKEY_DISABLE_WRITE)
|
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/ |
D | mman-common.h | 79 #define PKEY_DISABLE_WRITE 0x2 macro 81 PKEY_DISABLE_WRITE)
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
D | mman-common.h | 65 #define PKEY_DISABLE_WRITE 0x2 macro 66 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
D | mman-common.h | 82 #define PKEY_DISABLE_WRITE 0x2 macro 84 PKEY_DISABLE_WRITE)
|
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/ |
D | mman.h | 113 #define PKEY_DISABLE_WRITE 0x2 macro 115 PKEY_DISABLE_WRITE)
|
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/ |
D | mman.h | 75 #define PKEY_DISABLE_WRITE 0x2 macro 77 PKEY_DISABLE_WRITE)
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
D | mman.h | 105 #define PKEY_DISABLE_WRITE 0x2 macro 107 PKEY_DISABLE_WRITE)
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
D | mman.h | 74 #define PKEY_DISABLE_WRITE 0x2 macro 75 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)
|
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/ |
D | mman.h | 78 #define PKEY_DISABLE_WRITE 0x2 macro 80 PKEY_DISABLE_WRITE)
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | protection-keys.rst | 51 pkey = pkey_alloc(0, PKEY_DISABLE_WRITE); 59 pkey_set(pkey, 0); // clear PKEY_DISABLE_WRITE 61 pkey_set(pkey, PKEY_DISABLE_WRITE); // set PKEY_DISABLE_WRITE again 84 pkey = pkey_alloc(0, PKEY_DISABLE_WRITE | PKEY_DISABLE_READ);
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | pkey-powerpc.h | 22 #undef PKEY_DISABLE_WRITE 23 #define PKEY_DISABLE_WRITE 0x2 macro
|
D | pkey-x86.h | 40 #ifndef PKEY_DISABLE_WRITE 41 # define PKEY_DISABLE_WRITE 0x2 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() 281 pkey_disable_clear(pkey, PKEY_DISABLE_WRITE); in pkey_write_allow() 285 pkey_disable_set(pkey, PKEY_DISABLE_WRITE); in pkey_write_deny()
|
D | pkey-helpers.h | 96 #define PKEY_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/ |
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()
|
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/ |
D | mman.h | 33 PKEY_DISABLE_WRITE |\
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | pkeys.c | 111 (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_early_init_devtree() 309 else if (init_val & PKEY_DISABLE_WRITE) in __arch_set_user_pkey_access()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | pkeys.h | 23 PKEY_DISABLE_WRITE | \
|
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/ |
D | xstate.c | 1061 if (init_val & PKEY_DISABLE_WRITE) in arch_set_user_pkey_access()
|