Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/base/vm/
Dlos_vm_syscall.c178 UINT32 protFlags = 0; in OsProtMprotectPermCheck() local
184 protFlags |= (prot & PROT_READ) ? VM_MAP_REGION_FLAG_PERM_READ : 0; in OsProtMprotectPermCheck()
185 protFlags |= (prot & PROT_WRITE) ? VM_MAP_REGION_FLAG_PERM_WRITE : 0; in OsProtMprotectPermCheck()
187 return ((protFlags & permFlags) == protFlags); in OsProtMprotectPermCheck()