Searched refs:old_prot (Results 1 – 2 of 2) sorted by relevance
1126 DWORD old_prot, unused_prot; in OverrideImportedFunction() local1128 &old_prot)) in OverrideImportedFunction()1131 if (!VirtualProtect(&iat->u1.AddressOfData, 4, old_prot, &unused_prot)) in OverrideImportedFunction()
2731 vm_prot_t old_prot; in vm_map_protect_guard() local2738 old_prot = PROT_EXTRACT(entry->offset); in vm_map_protect_guard()2741 (new_maxprot & old_prot); in vm_map_protect_guard()2763 vm_prot_t check_prot, max_prot, old_prot; in vm_map_protect() local2944 old_prot = entry->protection; in vm_map_protect()2948 entry->protection = new_maxprot & old_prot; in vm_map_protect()2961 (old_prot & VM_PROT_WRITE) == 0) in vm_map_protect()2968 if ((old_prot & ~entry->protection) != 0) { in vm_map_protect()