Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/mm/
Dprotection_keys.c461 int sys_mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in sys_mprotect_pkey() function
595 ret = sys_mprotect_pkey(ptr, size, orig_prot, pkey); in mprotect_pkey()
613 ret = sys_mprotect_pkey(ptr, size, orig_prot, pkey); in mprotect_pkey()
1003 err = sys_mprotect_pkey(ptr, size, PROT_READ, 0); in test_pkey_alloc_free_attach_pkey0()
1005 err = sys_mprotect_pkey(ptr, size, PROT_WRITE, 0); in test_pkey_alloc_free_attach_pkey0()
1007 err = sys_mprotect_pkey(ptr, size, PROT_EXEC, 0); in test_pkey_alloc_free_attach_pkey0()
1009 err = sys_mprotect_pkey(ptr, size, PROT_READ|PROT_WRITE, 0); in test_pkey_alloc_free_attach_pkey0()
1011 err = sys_mprotect_pkey(ptr, size, PROT_READ|PROT_WRITE|PROT_EXEC, 0); in test_pkey_alloc_free_attach_pkey0()
1173 err = sys_mprotect_pkey(ptr, PAGE_SIZE, PROT_READ, i); in test_pkey_syscalls_on_non_allocated_pkey()
1185 err = sys_mprotect_pkey(ptr, PAGE_SIZE, PROT_READ, bad_pkey); in test_pkey_syscalls_bad_args()