Home
last modified time | relevance | path

Searched refs:PKEY_DISABLE_WRITE (Results 1 – 7 of 7) sorted by relevance

/tools/testing/selftests/powerpc/include/
Dpkeys.h21 #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()
/tools/include/uapi/asm-generic/
Dmman-common.h79 #define PKEY_DISABLE_WRITE 0x2 macro
81 PKEY_DISABLE_WRITE)
/tools/testing/selftests/vm/
Dpkey-powerpc.h22 #undef PKEY_DISABLE_WRITE
23 #define PKEY_DISABLE_WRITE 0x2 macro
Dpkey-x86.h40 #ifndef PKEY_DISABLE_WRITE
41 # define PKEY_DISABLE_WRITE 0x2 macro
Dpkey-helpers.h96 #define PKEY_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)
Dprotection_keys.c190 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()
/tools/testing/selftests/powerpc/mm/
Dpkey_siginfo.c160 (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()