Searched refs:pkey_rights (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/testing/selftests/powerpc/mm/ |
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()
|
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-6.12.1/tools/testing/selftests/mm/ |
D | protection_keys.c | 214 int pkey_rights; in pkey_disable_set() local 220 pkey_rights = hw_pkey_get(pkey, syscall_flags); in pkey_disable_set() 223 pkey, pkey, pkey_rights); in pkey_disable_set() 225 pkey_assert(pkey_rights >= 0); in pkey_disable_set() 227 pkey_rights |= flags; in pkey_disable_set() 229 ret = hw_pkey_set(pkey, pkey_rights, syscall_flags); in pkey_disable_set() 232 shadow_pkey_reg = set_pkey_bits(shadow_pkey_reg, pkey, pkey_rights); in pkey_disable_set() 238 pkey_rights = hw_pkey_get(pkey, syscall_flags); in pkey_disable_set() 240 pkey, pkey, pkey_rights); in pkey_disable_set() 252 int pkey_rights = hw_pkey_get(pkey, syscall_flags); in pkey_disable_clear() local [all …]
|
/linux-6.12.1/tools/testing/selftests/powerpc/include/ |
D | pkeys.h | 108 #define pkey_rights(r) ({ \ macro
|