Lines Matching refs:pkey
106 int pkey, ret, i; in test() local
155 pkey = sys_pkey_alloc(0, rights); in test()
156 FAIL_IF(pkey < 0); in test()
179 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test()
196 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test()
205 fault_pkey = pkey; in test()
216 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test()
217 pkey_set_rights(pkey, rights); in test()
233 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test()
234 pkey_set_rights(pkey, rights); in test()
241 sys_pkey_free(pkey); in test()
249 pkey = sys_pkey_alloc(0, rights); in test()
250 FAIL_IF(pkey < 0); in test()
262 fault_pkey = pkey; in test()
270 FAIL_IF(sys_pkey_mprotect(insns, pgsize, PROT_EXEC, pkey) != 0); in test()
279 sys_pkey_free(pkey); in test()