Searched refs:permFlags (Results 1 – 1 of 1) sorted by relevance
179 UINT32 permFlags = 0; in OsProtMprotectPermCheck() local181 permFlags |= ((fileFlags & O_ACCMODE) ^ O_RDONLY) ? 0 : VM_MAP_REGION_FLAG_PERM_READ; in OsProtMprotectPermCheck()182 permFlags |= (fileFlags & O_WRONLY) ? VM_MAP_REGION_FLAG_PERM_WRITE : 0; in OsProtMprotectPermCheck()183 …permFlags |= (fileFlags & O_RDWR) ? (VM_MAP_REGION_FLAG_PERM_READ | VM_MAP_REGION_FLAG_PERM_WRITE)… in OsProtMprotectPermCheck()187 return ((protFlags & permFlags) == protFlags); in OsProtMprotectPermCheck()