| /xnu-8019.80.24/osfmk/mach/ |
| H A D | vm_prot.h | 75 typedef int vm_prot_t; typedef 81 #define VM_PROT_NONE ((vm_prot_t) 0x00) 83 #define VM_PROT_READ ((vm_prot_t) 0x01) /* read permission */ 84 #define VM_PROT_WRITE ((vm_prot_t) 0x02) /* write permission */ 85 #define VM_PROT_EXECUTE ((vm_prot_t) 0x04) /* execute permission */ 106 #define VM_PROT_NO_CHANGE_LEGACY ((vm_prot_t) 0x08) 107 #define VM_PROT_NO_CHANGE ((vm_prot_t) 0x01000000) 117 #define VM_PROT_COPY ((vm_prot_t) 0x10) 131 #define VM_PROT_WANTS_COPY ((vm_prot_t) 0x10) 139 #define VM_PROT_TRUSTED ((vm_prot_t) 0x20) [all …]
|
| H A D | vm_region.h | 76 vm_prot_t protection; 77 vm_prot_t max_protection; 104 vm_prot_t protection; 105 vm_prot_t max_protection; 140 vm_prot_t protection; 167 vm_prot_t protection; 228 vm_prot_t protection; /* present access protection */ 229 vm_prot_t max_protection; /* max avail through vm_prot */ 255 vm_prot_t protection; /* present access protection */ 256 vm_prot_t max_protection; /* max avail through vm_prot */ [all …]
|
| H A D | shared_region.h | 158 vm_prot_t sfm_max_prot; 159 vm_prot_t sfm_init_prot; 168 vm_prot_t sms_max_prot; /* protections, plus flags, see below */ 169 vm_prot_t sms_init_prot;
|
| H A D | vm32_map.defs | 106 new_protection : vm_prot_t); 165 cur_protection : vm_prot_t; 166 max_protection : vm_prot_t; 185 out cur_protection : vm_prot_t; 186 out max_protection : vm_prot_t; 197 permission :vm_prot_t; 253 permission :vm_prot_t; 268 cur_protection : vm_prot_t; 269 max_protection : vm_prot_t;
|
| H A D | vm_map.defs | 168 new_protection : vm_prot_t); 309 cur_protection : vm_prot_t; 310 max_protection : vm_prot_t; 337 out cur_protection : vm_prot_t; 338 out max_protection : vm_prot_t; 362 permission :vm_prot_t; 453 permission :vm_prot_t; 468 cur_protection : vm_prot_t; 469 max_protection : vm_prot_t; 533 inout cur_protection : vm_prot_t; [all …]
|
| H A D | mach_vm.defs | 168 new_protection : vm_prot_t); 182 new_protection : vm_prot_t); 366 cur_protection : vm_prot_t; 367 max_protection : vm_prot_t; 402 out cur_protection : vm_prot_t; 403 out max_protection : vm_prot_t; 476 permission :vm_prot_t; 543 inout cur_protection : vm_prot_t; 544 inout max_protection : vm_prot_t;
|
| /xnu-8019.80.24/osfmk/vm/ |
| H A D | vm_fault.h | 92 vm_prot_t fault_type, 105 extern void vm_pre_fault(vm_map_offset_t, vm_prot_t); 119 vm_prot_t fault_type, 133 vm_prot_t fault_type, /* What access is requested */ 137 vm_prot_t *protection, /* Protection for mapping */ 157 vm_prot_t prot, 186 vm_prot_t prot, 187 vm_prot_t fault_type,
|
| H A D | vm_kern.h | 125 vm_prot_t protection, 126 vm_prot_t max_protection); 199 vm_prot_t prot); 392 vm_prot_t cur_protection, 393 vm_prot_t max_protection, 408 vm_prot_t cur_protection, 409 vm_prot_t max_protection, 422 vm_prot_t *cur_protection, 423 vm_prot_t *max_protection, 436 vm_prot_t *cur_protection, [all …]
|
| H A D | vm_map.h | 190 vm_prot_t protection; /* access permissions */ 764 vm_prot_t cur_prot, 765 vm_prot_t max_prot, 773 vm_prot_t fault_type, 778 vm_prot_t *out_prot, /* OUT */ 800 vm_prot_t cur_protection, 801 vm_prot_t max_protection, 889 vm_prot_t cur_protection, 890 vm_prot_t max_protection, 905 vm_prot_t cur_protection, [all …]
|
| H A D | pmap.h | 237 vm_prot_t prot, 238 vm_prot_t fault_type, 246 vm_prot_t prot, 247 vm_prot_t fault_type, 256 vm_prot_t prot, 257 vm_prot_t fault_type, 280 vm_prot_t prot); 284 vm_prot_t prot, 651 vm_prot_t prot); 657 vm_prot_t prot, [all …]
|
| H A D | vm_user.c | 462 vm_prot_t new_protection) in mach_vm_protect() 495 vm_prot_t new_protection) in vm_protect() 1030 vm_prot_t cur_protection, in mach_vm_map_external() 1031 vm_prot_t max_protection, in mach_vm_map_external() 1056 vm_prot_t cur_protection, in mach_vm_map_kernel() 1057 vm_prot_t max_protection, in mach_vm_map_kernel() 1106 vm_prot_t cur_protection, in vm_map_64_external() 1107 vm_prot_t max_protection, in vm_map_64_external() 1132 vm_prot_t cur_protection, in vm_map_64_kernel() 1133 vm_prot_t max_protection, in vm_map_64_kernel() [all …]
|
| H A D | vm32_user.c | 155 vm_prot_t new_protection) in vm32_protect() 263 vm_prot_t cur_protection, in vm32_map_64() 264 vm_prot_t max_protection, in vm32_map_64() 289 vm_prot_t cur_protection, in vm32_map() 290 vm_prot_t max_protection, in vm32_map() 308 vm_prot_t *cur_protection, in vm32_remap() 309 vm_prot_t *max_protection, in vm32_remap() 524 vm_prot_t permission, in vm32_make_memory_entry_64() 537 vm_prot_t permission, in vm32_make_memory_entry()
|
| H A D | vm_protos.h | 58 vm_prot_t protection, 169 vm_prot_t prot, 353 vm_prot_t desired_access); 409 vm_prot_t, 433 vm_prot_t prot); 463 vm_prot_t, 479 vm_prot_t); 484 extern kern_return_t device_pager_map(memory_object_t, vm_prot_t); 520 extern void log_stack_execution_failure(addr64_t vaddr, vm_prot_t prot); 615 vm_prot_t prot); [all …]
|
| H A D | vm_fault.c | 179 vm_prot_t prot, 189 vm_prot_t caller_prot, 207 vm_prot_t fault_type); 221 void vm_pre_fault(vm_map_offset_t, vm_prot_t); 968 vm_prot_t fault_type, /* What access is requested */ in vm_fault_page() 972 vm_prot_t *protection, /* Protection for mapping */ in vm_fault_page() 995 vm_prot_t access_required = fault_type; in vm_fault_page() 996 vm_prot_t wants_copy_flag; in vm_fault_page() 2613 vm_prot_t prot __unused) in vm_fault_cs_page_immutable() 2640 vm_prot_t prot, in vm_fault_cs_check_violation() [all …]
|
| H A D | vm_swapfile_pager.c | 88 vm_prot_t protection_required, 104 vm_prot_t desired_access); 110 vm_prot_t prot); 283 __unused vm_prot_t desired_access) in swapfile_pager_data_unlock() 301 vm_prot_t protection_required, in swapfile_pager_data_request() 655 __unused vm_prot_t prot) in swapfile_pager_map()
|
| H A D | vm_fourk_pager.c | 91 vm_prot_t protection_required, 107 vm_prot_t desired_access); 113 vm_prot_t prot); 308 __unused vm_prot_t desired_access) in fourk_pager_data_unlock() 516 __unused vm_prot_t prot) in fourk_pager_map() 775 vm_prot_t protection_required, in fourk_pager_data_request() 927 vm_prot_t prot; in fourk_pager_data_request()
|
| /xnu-8019.80.24/osfmk/mach_debug/ |
| H A D | vm_info.h | 85 vm_prot_t vir_protection; /* protection code */ 86 vm_prot_t vir_max_protection; /* maximum protection */ 98 vm_prot_t vir_protection; /* protection code */ 99 vm_prot_t vir_max_protection; /* maximum protection */ 111 vm_prot_t vir_protection; /* protection code */ 112 vm_prot_t vir_max_protection; /* maximum protection */
|
| /xnu-8019.80.24/libsyscall/mach/ |
| H A D | mach_vm.c | 96 vm_prot_t new_protection) in mach_vm_protect() 151 vm_prot_t new_protection) in vm_protect() 170 vm_prot_t cur_protection, in mach_vm_map() 171 vm_prot_t max_protection, in mach_vm_map() 206 vm_prot_t *cur_protection, in mach_vm_remap() 207 vm_prot_t *max_protection, in mach_vm_remap() 235 vm_prot_t *cur_protection, in mach_vm_remap_new() 236 vm_prot_t *max_protection, in mach_vm_remap_new() 287 vm_prot_t cur_protection, in vm_map() 288 vm_prot_t max_protection, in vm_map() [all …]
|
| /xnu-8019.80.24/osfmk/arm/ |
| H A D | pmap.h | 584 extern vm_map_address_t pmap_map(vm_map_address_t va, vm_offset_t sa, vm_offset_t ea, vm_prot_t pro… 585 extern vm_map_address_t pmap_map_high_window_bd( vm_offset_t pa, vm_size_t len, vm_prot_t prot); 586 extern kern_return_t pmap_map_block(pmap_t pmap, addr64_t va, ppnum_t pa, uint32_t size, vm_prot_t … 587 …ap_block_addr(pmap_t pmap, addr64_t va, pmap_paddr_t pa, uint32_t size, vm_prot_t prot, int attr, … 597 …ap_bd_with_options(vm_map_address_t va, vm_offset_t sa, vm_offset_t ea, vm_prot_t prot, int32_t op… 598 extern vm_map_address_t pmap_map_bd(vm_map_address_t va, vm_offset_t sa, vm_offset_t ea, vm_prot_t … 610 extern unsigned int pmap_map_cpu_windows_copy(ppnum_t pn, vm_prot_t prot, unsigned int wimg_bits);
|
| H A D | trap.h | 244 extern boolean_t arm_force_fast_fault(ppnum_t, vm_prot_t, int, void *); 245 extern kern_return_t arm_fast_fault(pmap_t, vm_map_address_t, vm_prot_t, bool, bool);
|
| H A D | io_map_entries.h | 48 vm_prot_t prot);
|
| /xnu-8019.80.24/osfmk/arm64/ |
| H A D | sleh.c | 140 extern kern_return_t arm_fast_fault(pmap_t, vm_map_address_t, vm_prot_t, bool, bool); 155 typedef void (*abort_inspector_t)(uint32_t, fault_status_t *, vm_prot_t *); 156 static void inspect_instruction_abort(uint32_t, fault_status_t *, vm_prot_t *); 157 static void inspect_data_abort(uint32_t, fault_status_t *, vm_prot_t *); 163 …_handler_t)(arm_saved_state_t *, uint32_t, vm_offset_t, fault_status_t, vm_prot_t, vm_offset_t, ex… 164 static void handle_user_abort(arm_saved_state_t *, uint32_t, vm_offset_t, fault_status_t, vm_prot_t… 165 …ernel_abort(arm_saved_state_t *, uint32_t, vm_offset_t, fault_status_t, vm_prot_t, vm_offset_t, ex… 985 vm_prot_t fault_type; in handle_abort() 992 inspect_instruction_abort(uint32_t iss, fault_status_t *fault_code, vm_prot_t *fault_type) in inspect_instruction_abort() 1000 inspect_data_abort(uint32_t iss, fault_status_t *fault_code, vm_prot_t *fault_type) in inspect_data_abort() [all …]
|
| /xnu-8019.80.24/libkern/kxld/ |
| H A D | kxld_seg.h | 55 vm_prot_t maxprot; 56 vm_prot_t initprot;
|
| /xnu-8019.80.24/osfmk/tests/ |
| H A D | pmap_tests.c | 40 extern boolean_t arm_force_fast_fault(ppnum_t, vm_prot_t, int, void*); 41 extern kern_return_t arm_fast_fault(pmap_t, vm_map_address_t, vm_prot_t, bool, bool);
|
| /xnu-8019.80.24/EXTERNAL_HEADERS/mach-o/ |
| H A D | loader.h | 363 vm_prot_t maxprot; /* maximum VM protection */ 364 vm_prot_t initprot; /* initial VM protection */ 383 vm_prot_t maxprot; /* maximum VM protection */ 384 vm_prot_t initprot; /* initial VM protection */
|