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()
2750 vm_prot_t old_prot; in vm_map_protect_guard() local2757 old_prot = PROT_EXTRACT(entry->offset); in vm_map_protect_guard()2760 (new_maxprot & old_prot); in vm_map_protect_guard()2782 vm_prot_t check_prot, max_prot, old_prot; in vm_map_protect() local2963 old_prot = entry->protection; in vm_map_protect()2967 entry->protection = new_maxprot & old_prot; in vm_map_protect()2980 (old_prot & VM_PROT_WRITE) == 0) in vm_map_protect()2987 if ((old_prot & ~entry->protection) != 0) { in vm_map_protect()