Searched refs:old_prot (Results 1 – 2 of 2) sorted by relevance
1135 DWORD old_prot, unused_prot; in OverrideImportedFunction() local1137 &old_prot)) in OverrideImportedFunction()1140 if (!VirtualProtect(&iat->u1.AddressOfData, 4, old_prot, &unused_prot)) in OverrideImportedFunction()
2788 vm_prot_t old_prot; in vm_map_protect_guard() local2794 old_prot = PROT_EXTRACT(entry->offset); in vm_map_protect_guard()2797 (new_maxprot & old_prot); in vm_map_protect_guard()2819 vm_prot_t check_prot, max_prot, old_prot; in vm_map_protect() local2997 old_prot = entry->protection; in vm_map_protect()3001 entry->protection = new_maxprot & old_prot; in vm_map_protect()3014 (old_prot & VM_PROT_WRITE) == 0) in vm_map_protect()3021 if ((old_prot & ~entry->protection) != 0) { in vm_map_protect()