Searched refs:reprotect (Results 1 - 2 of 2) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | model_dep.c | 958 vm_prot_t reprotect; local 992 reprotect = info.protection; 996 ret = mach_vm_protect(map, (mach_vm_offset_t)vaddr, (mach_vm_size_t)4, 0, reprotect | VM_PROT_WRITE); 1002 * Strange, we can't just say "reprotect | VM_PROT_COPY", that fails. 1015 reprotect = VM_PROT_NONE; 1022 if (reprotect != VM_PROT_NONE) { 1023 ret = mach_vm_protect (map, (mach_vm_offset_t)vaddr, (mach_vm_size_t)4, 0, reprotect); 1038 if (reprotect != VM_PROT_NONE) { 1039 ret = mach_vm_protect(map, (mach_vm_offset_t)vaddr, (mach_vm_size_t)4, 0, reprotect);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 176 vm_prot_t reprotect; 180 reprotect = info.protection; 184 ret = mach_vm_protect (map, (mach_vm_offset_t)a, (mach_vm_size_t)len, 0, reprotect | VM_PROT_WRITE); 189 * Strange, we can't just say "reprotect | VM_PROT_COPY", that fails. 199 reprotect = VM_PROT_NONE; 210 if (reprotect != VM_PROT_NONE) { 211 ASSERT(reprotect & VM_PROT_EXECUTE); 212 ret = mach_vm_protect (map, (mach_vm_offset_t)a, (mach_vm_size_t)len, 0, reprotect);
|
Completed in 84 milliseconds