/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ |
H A D | vm_prot.h | 84 #define VM_PROT_WRITE ((vm_prot_t) 0x02) /* write permission */ macro 91 #define VM_PROT_DEFAULT (VM_PROT_READ|VM_PROT_WRITE) 97 #define VM_PROT_ALL (VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE)
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | io_map.c | 84 VM_PROT_READ|VM_PROT_WRITE, 90 VM_PROT_READ|VM_PROT_WRITE,
|
H A D | lapic.c | 191 VM_PROT_READ|VM_PROT_WRITE, local
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | io_map.c | 76 (size >> 12), VM_PROT_READ|VM_PROT_WRITE); local 96 1, VM_PROT_READ|VM_PROT_WRITE); local 128 (size >> 12), VM_PROT_READ|VM_PROT_WRITE); local
|
H A D | ppc_vm_init.c | 251 round_page(sectDATAB+sectSizeDATA), VM_PROT_READ|VM_PROT_WRITE, VM_WIMG_USE_DEFAULT); local 263 VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE, 273 VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE, 284 VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE, 294 VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE, 301 VM_PROT_READ|VM_PROT_WRITE, local 306 VM_PROT_READ|VM_PROT_WRITE, local 317 VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE,
|
H A D | model_dep.c | 990 if (!(info.protection & VM_PROT_WRITE)) { 994 if (info.max_protection & VM_PROT_WRITE) { 996 ret = mach_vm_protect(map, (mach_vm_offset_t)vaddr, (mach_vm_size_t)4, 0, reprotect | VM_PROT_WRITE); 1004 ret = mach_vm_protect(map, (mach_vm_offset_t)vaddr, (mach_vm_size_t)4, 0, VM_PROT_COPY | VM_PROT_READ | VM_PROT_WRITE);
|
H A D | PseudoKernel.c | 265 VM_PROT_READ | VM_PROT_WRITE, 285 kerndescaddr, physdescpage, VM_PROT_READ|VM_PROT_WRITE,
|
H A D | vmachmon.c | 584 VM_PROT_READ | VM_PROT_WRITE, 606 VM_PROT_READ | VM_PROT_WRITE, 1011 VM_PROT_READ | VM_PROT_WRITE, 1056 VM_PROT_READ | VM_PROT_WRITE,
|
H A D | pmap.c | 291 (VM_PROT_READ | VM_PROT_WRITE)); 324 (VM_PROT_READ | VM_PROT_WRITE)); 541 round_page(first_used_addr + size), VM_PROT_READ | VM_PROT_WRITE, VM_WIMG_USE_DEFAULT);
|
H A D | Diagnostics.c | 363 (addr64_t)(((save->save_r5 & 0xFFFFFFFF) << 32) | (save->save_r5 & 0xFFFFFFFF)), save->save_r6, 0, 1, VM_PROT_READ|VM_PROT_WRITE); local
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/i386/ |
H A D | vm_param.h | 202 __prot__ |= VM_PROT_WRITE; \
|
/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_alloc.c | 117 CAST_USER_ADDR_T(end), VM_PROT_READ|VM_PROT_WRITE, FALSE));
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | vm_fault.c | 737 if (!(fault_type & VM_PROT_WRITE)) 738 *protection &= ~VM_PROT_WRITE; 1025 && (fault_type & VM_PROT_WRITE)) { 1521 if (fault_type & VM_PROT_WRITE) { 1645 *protection &= (~VM_PROT_WRITE); 1667 if ((fault_type & VM_PROT_WRITE) == 0) { 1668 *protection &= ~VM_PROT_WRITE; 2136 if (prot & VM_PROT_WRITE) { 2285 if (fault_type & VM_PROT_WRITE) 2326 fault_type = prot | VM_PROT_WRITE; [all...] |
H A D | memory_object.c | 819 prot = VM_PROT_WRITE|VM_PROT_READ; 821 VM_PROT_WRITE|VM_PROT_READ, 846 prot = VM_PROT_WRITE|VM_PROT_READ; 851 prot = VM_PROT_WRITE|VM_PROT_READ; 857 prot = VM_PROT_WRITE|VM_PROT_READ; 863 prot = VM_PROT_WRITE|VM_PROT_READ; 1478 (VM_PROT_READ | VM_PROT_WRITE)) 1479 != (VM_PROT_READ | VM_PROT_WRITE)) {
|
H A D | vm_debug.c | 273 VM_PROT_READ|VM_PROT_WRITE, FALSE); 474 VM_PROT_READ|VM_PROT_WRITE, FALSE); 567 VM_PROT_READ|VM_PROT_WRITE, FALSE);
|
H A D | vm_map.c | 1536 if (cur_protection & VM_PROT_WRITE) { 1542 if (max_protection & VM_PROT_WRITE) { 1550 if((cur_protection & VM_PROT_WRITE) == 0) { 1551 max_protection &= ~VM_PROT_WRITE; 2045 pager_prot &= ~VM_PROT_WRITE; 2420 pager_prot &= ~VM_PROT_WRITE; 3201 new_max |= VM_PROT_WRITE; 3214 if (new_prot & VM_PROT_WRITE) { 3260 current->max_protection |= VM_PROT_WRITE; 3287 prot = current->protection & ~VM_PROT_WRITE; [all...] |
H A D | device_vm.c | 296 VM_PROT_READ | VM_PROT_WRITE,
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_mman.c | 227 if (prot & (VM_PROT_EXECUTE | VM_PROT_WRITE)) 413 maxprot |= VM_PROT_WRITE; 421 maxprot |= VM_PROT_WRITE; 500 if (prot & (VM_PROT_EXECUTE | VM_PROT_WRITE)) 502 if (maxprot & (VM_PROT_EXECUTE | VM_PROT_WRITE)) 549 if (prot & (VM_PROT_EXECUTE | VM_PROT_WRITE)) 551 if (maxprot & (VM_PROT_EXECUTE | VM_PROT_WRITE)) 750 if (prot & (VM_PROT_EXECUTE | VM_PROT_WRITE))
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/device/ |
H A D | iokit_rpc.c | 450 ? VM_PROT_READ : (VM_PROT_READ|VM_PROT_WRITE); 504 ? VM_PROT_READ : (VM_PROT_READ|VM_PROT_WRITE);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace_ptss.c | 179 kr = mach_vm_protect(map, addr, size, 0, VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE);
|
H A D | dtrace_glue.c | 178 if (!(info.protection & VM_PROT_WRITE)) { 182 if (info.max_protection & VM_PROT_WRITE) { 184 ret = mach_vm_protect (map, (mach_vm_offset_t)a, (mach_vm_size_t)len, 0, reprotect | VM_PROT_WRITE); 191 ret = mach_vm_protect (map, (mach_vm_offset_t)a, (mach_vm_size_t)len, 0, VM_PROT_COPY | VM_PROT_READ | VM_PROT_WRITE);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | ppc_init.c | 192 (VM_PROT_WRITE|VM_PROT_READ);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/ |
H A D | mach_port.c | 282 VM_PROT_READ|VM_PROT_WRITE, FALSE); 291 VM_PROT_READ|VM_PROT_WRITE, FALSE); 1085 VM_PROT_READ|VM_PROT_WRITE, FALSE);
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOBufferMemoryDescriptor.cpp | 155 vm_prot_t memEntryCacheMode = VM_PROT_READ | VM_PROT_WRITE;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vm/ |
H A D | vm_unix.c | 138 prot == B_READ ? VM_PROT_READ : VM_PROT_WRITE)); 149 VM_PROT_READ | VM_PROT_WRITE ,FALSE);
|