Searched refs:pkey_rights (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/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-6.15/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() 246 pkey, pkey, pkey_rights); in pkey_disable_set() 263 pkey, pkey, pkey_rights); in pkey_disable_clear() 264 pkey_assert(pkey_rights >= 0); in pkey_disable_clear() 266 pkey_rights &= ~flags; in pkey_disable_clear() 268 ret = hw_pkey_set(pkey, pkey_rights, 0); in pkey_disable_clear() [all …]
|
| /linux-6.15/tools/testing/selftests/powerpc/include/ |
| H A D | pkeys.h | 119 #define pkey_rights(r) ({ \ macro
|