Searched refs:mprotect_pkey (Results 1 – 1 of 1) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | protection_keys.c | 646 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey() function 761 ret = mprotect_pkey((void *)ptr, PAGE_SIZE, prot, pkey); in malloc_pkey_with_mprotect() 785 mprotect_pkey(ptr, size, prot, pkey); in malloc_pkey_anon_huge() 855 mprotect_pkey(ptr, size, prot, pkey); in malloc_pkey_hugetlb() 877 mprotect_pkey(ptr, size, prot, pkey); in malloc_pkey_mmap_dax() 1210 mprotect_pkey(ptr, size, prot, 0); in test_mprotect_with_pkey_0() 1213 mprotect_pkey(ptr, size, prot, pkey); in test_mprotect_with_pkey_0() 1325 ret = mprotect_pkey(p1, PAGE_SIZE, PROT_EXEC, (u64)pkey); in test_executing_on_unreadable_memory()
|