Searched refs:old_prot (Results 1 – 2 of 2) sorted by relevance
1010 DWORD old_prot, unused_prot; in OverrideImportedFunction() local1012 &old_prot)) in OverrideImportedFunction()1015 if (!VirtualProtect(&iat->u1.AddressOfData, 4, old_prot, &unused_prot)) in OverrideImportedFunction()
2715 vm_prot_t old_prot; in vm_map_protect() local2873 old_prot = entry->protection; in vm_map_protect()2877 entry->protection = new_maxprot & old_prot; in vm_map_protect()2890 (old_prot & VM_PROT_WRITE) == 0) in vm_map_protect()2897 if ((old_prot & ~entry->protection) != 0) { in vm_map_protect()