Home
last modified time | relevance | path

Searched refs:pkey_rights (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/tools/testing/selftests/powerpc/mm/
Dpkey_exec_prot.c181 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()
Dpkey_siginfo.c112 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.6.21/tools/testing/selftests/mm/
Dprotection_keys.c214 int pkey_rights; in pkey_disable_set() local
221 pkey_rights = hw_pkey_get(pkey, syscall_flags); in pkey_disable_set()
224 pkey, pkey, pkey_rights); in pkey_disable_set()
226 pkey_assert(pkey_rights >= 0); in pkey_disable_set()
228 pkey_rights |= flags; in pkey_disable_set()
230 ret = hw_pkey_set(pkey, pkey_rights, syscall_flags); in pkey_disable_set()
233 shadow_pkey_reg = set_pkey_bits(shadow_pkey_reg, pkey, pkey_rights); in pkey_disable_set()
239 pkey_rights = hw_pkey_get(pkey, syscall_flags); in pkey_disable_set()
241 pkey, pkey, pkey_rights); in pkey_disable_set()
255 int pkey_rights = hw_pkey_get(pkey, syscall_flags); in pkey_disable_clear() local
[all …]
/linux-6.6.21/tools/testing/selftests/powerpc/include/
Dpkeys.h108 #define pkey_rights(r) ({ \ macro