Searched refs:pkey_rights (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/powerpc/mm/ |
H A D | pkey_exec_prot.c | 181 pkey_rights(rights)); in test() 198 pkey_rights(rights)); in test() 219 pkey_rights(rights)); in test() 236 pkey_rights(rights)); in test() 272 pkey_rights(rights)); in test()
|
H A D | pkey_siginfo.c | 112 printf("tid %d, pkey permissions are %s\n", tid, pkey_rights(rights)); in protect() 157 printf("tid %d, pkey permissions are %s\n", tid, pkey_rights(rights)); in protect_access()
|
/linux/tools/testing/selftests/mm/ |
H A D | protection_keys.c | 220 int pkey_rights; in pkey_disable_set() local 226 pkey_rights = hw_pkey_get(pkey, syscall_flags); in pkey_disable_set() 229 pkey, pkey, pkey_rights); in pkey_disable_set() 231 pkey_assert(pkey_rights >= 0); in pkey_disable_set() 233 pkey_rights |= flags; in pkey_disable_set() 235 ret = hw_pkey_set(pkey, pkey_rights, syscall_flags); in pkey_disable_set() 238 shadow_pkey_reg = set_pkey_bits(shadow_pkey_reg, pkey, pkey_rights); in pkey_disable_set() 244 pkey_rights = hw_pkey_get(pkey, syscall_flags); in pkey_disable_set() 246 pkey, pkey, pkey_rights); in pkey_disable_set() 258 int pkey_rights = hw_pkey_get(pkey, syscall_flags); in pkey_disable_clear() local [all …]
|
/linux/tools/testing/selftests/powerpc/include/ |
H A D | pkeys.h | 116 #define pkey_rights(r) ({ \ 108 #define pkey_rights( global() macro
|