Searched refs:old_prot (Results 1 – 2 of 2) sorted by relevance
1005 DWORD old_prot, unused_prot; in OverrideImportedFunction() local1007 &old_prot)) in OverrideImportedFunction()1010 if (!VirtualProtect(&iat->u1.AddressOfData, 4, old_prot, &unused_prot)) in OverrideImportedFunction()
2460 vm_prot_t old_prot; in vm_map_protect() local2580 old_prot = current->protection; in vm_map_protect()2585 old_prot; in vm_map_protect()2597 (old_prot & VM_PROT_WRITE) == 0) in vm_map_protect()2604 if ((old_prot & ~current->protection) != 0) { in vm_map_protect()