| /xnu-12377.1.9/osfmk/vm/ |
| H A D | vm_sanitize.c | 640 *prot = VM_PROT_NONE; in vm_sanitize_prot() 647 *prot = VM_PROT_NONE; in vm_sanitize_prot() 731 *cur_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots() 732 *max_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots() 738 *cur_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots() 739 *max_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots() 759 *cur_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots() 760 *max_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots() 804 *perm = VM_PROT_NONE; in vm_sanitize_memory_entry_perm()
|
| H A D | vm_sanitize_internal.h | 1005 return vm_sanitize_prot(prot_u, vm_sanitize_caller, map, VM_PROT_NONE, prot); in vm_sanitize_prot() 1045 VM_PROT_NONE, cur_prot, max_prot); in vm_sanitize_cur_and_max_prots()
|
| H A D | vm_user.c | 921 if (copy || max_protection == VM_PROT_READ || max_protection == VM_PROT_NONE) { in mach_vm_remap_new_external() 978 *cur_protection = vm_sanitize_wrap_prot(VM_PROT_NONE); in mach_vm_remap_external() 979 *max_protection = vm_sanitize_wrap_prot(VM_PROT_NONE); in mach_vm_remap_external() 2226 VM_PROT_NONE, VM_PROT_ALL, in mach_vm_range_create_v1()
|
| H A D | vm_map.c | 3480 max_protection != VM_PROT_NONE && in vm_map_enter() 4980 cur_protection, VM_PROT_NONE, in vm_map_enter_mem_object() 5885 cur_prot = VM_PROT_NONE; in vm_map_protect() 6251 prot = VM_PROT_NONE; in vm_map_protect() 7922 VM_PROT_NONE, in vm_map_submap_pmap_clean() 7959 VM_PROT_NONE, in vm_map_submap_pmap_clean() 8821 VM_PROT_NONE, in vm_map_delete() 8983 VM_PROT_NONE, in vm_map_delete() 9068 entry->protection = VM_PROT_NONE; in vm_map_delete() 9069 entry->max_protection = VM_PROT_NONE; in vm_map_delete() [all …]
|
| H A D | vm_memory_entry.c | 716 cur_prot = VM_PROT_NONE; in mach_make_memory_entry_share() 717 max_prot = VM_PROT_NONE; in mach_make_memory_entry_share() 763 if (protections == VM_PROT_NONE) { in mach_make_memory_entry_share() 1266 VM_SANITIZE_FLAGS_NONE, VM_PROT_NONE, in mach_memory_object_memory_entry_64_sanitize()
|
| H A D | vm_fault.c | 1316 if (fault_type == VM_PROT_NONE) { in vm_fault_page() 1598 if (fault_type == VM_PROT_NONE && in vm_fault_page() 1937 wants_copy_flag = VM_PROT_NONE; in vm_fault_page() 4092 fault_type = fault_info->fi_change_wiring ? VM_PROT_NONE : caller_prot; in vm_fault_enter() 4541 fault_type = (fault_info->fi_change_wiring ? VM_PROT_NONE : caller_prot); in vm_fault_internal() 5914 enter_fault_type = VM_PROT_NONE; in vm_fault_internal() 7040 (void) vm_fault(map, va, VM_PROT_NONE, in vm_fault_unwire() 7057 prot = VM_PROT_NONE; in vm_fault_unwire() 7066 VM_PROT_NONE, TRUE, in vm_fault_unwire() 7612 assert((dst_prot & VM_PROT_WRITE) != VM_PROT_NONE); in vm_fault_copy() [all …]
|
| H A D | vm_kern.c | 1402 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter() 1411 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter() 1601 pmap_protect(kernel_pmap, offset, offset + size, VM_PROT_NONE); in kernel_memory_depopulate() 2092 VM_PROT_NONE); in kmem_realloc_guard() 4445 (vm_object_offset_t) 0, FALSE, VM_PROT_NONE, VM_PROT_NONE, in kmem_init() 4476 VM_PROT_NONE, VM_PROT_NONE, in kmem_init()
|
| H A D | vm_swapfile_pager.c | 371 VM_PROT_NONE, in swapfile_pager_data_request()
|
| /xnu-12377.1.9/tests/vm/configurator/ |
| H A D | vm_configurator_helpers.h | 133 checker->protection = VM_PROT_NONE; in checker_perform_vm_deallocate_permanent() 134 checker->max_protection = VM_PROT_NONE; in checker_perform_vm_deallocate_permanent()
|
| H A D | vm_configurator_tests.h | 708 .protection = VM_PROT_NONE), in configure_cow_unreadable() 906 return configure_protection_single_common(VM_PROT_NONE, VM_PROT_NONE); in configure_protection_single_000_000() 920 return configure_protection_single_common(VM_PROT_NONE, VM_PROT_READ); in configure_protection_single_000_r00() 939 return configure_protection_single_common(VM_PROT_NONE, VM_PROT_WRITE); in configure_protection_single_000_0w0() 958 return configure_protection_single_common(VM_PROT_NONE, VM_PROT_READ | VM_PROT_WRITE); in configure_protection_single_000_rw0() 988 return configure_protection_pairs_common(VM_PROT_NONE, VM_PROT_NONE); in configure_protection_pairs_000_000() 994 return configure_protection_pairs_common(VM_PROT_NONE, VM_PROT_READ); in configure_protection_pairs_000_r00() 1000 return configure_protection_pairs_common(VM_PROT_NONE, VM_PROT_WRITE); in configure_protection_pairs_000_0w0() 1006 return configure_protection_pairs_common(VM_PROT_NONE, VM_PROT_READ | VM_PROT_WRITE); in configure_protection_pairs_000_rw0() 1013 return configure_protection_pairs_common(VM_PROT_READ, VM_PROT_NONE); in configure_protection_pairs_r00_000() [all …]
|
| /xnu-12377.1.9/tests/vm/ |
| H A D | configurator_vm_protect.c | 166 results[0] = vm_protect_successfully(checker_list, start, size, VM_PROT_NONE); in vm_protect_max_000() 186 results[0] = vm_protect_successfully(checker_list, start, size, VM_PROT_NONE); in vm_protect_max_r00() 206 results[0] = vm_protect_successfully(checker_list, start, size, VM_PROT_NONE); in vm_protect_max_0w0() 227 results[0] = vm_protect_successfully(checker_list, start, size, VM_PROT_NONE); in vm_protect_max_rw0()
|
| H A D | configurator_test.c | 267 checker->protection = VM_PROT_NONE; in destructively_assert_permanent_checker_and_entry() 268 checker->max_protection = VM_PROT_NONE; in destructively_assert_permanent_checker_and_entry() 1018 assert(info.protection == VM_PROT_NONE); in test_cow_unreadable() 1022 assert(checker->protection == VM_PROT_NONE); in test_cow_unreadable() 1767 checker_list, start, VM_PROT_NONE, VM_PROT_NONE); in test_protection_single_000_000() 1777 checker_list, start, VM_PROT_NONE, VM_PROT_READ); in test_protection_single_000_r00() 1787 checker_list, start, VM_PROT_NONE, VM_PROT_WRITE); in test_protection_single_000_0w0() 1797 checker_list, start, VM_PROT_NONE, VM_PROT_READ | VM_PROT_WRITE); in test_protection_single_000_rw0() 1858 checker_list, start, VM_PROT_NONE, VM_PROT_NONE); in test_protection_pair_000_000() 1868 checker_list, start, VM_PROT_NONE, VM_PROT_READ); in test_protection_pair_000_r00() [all …]
|
| H A D | configurator_vm_wire.c | 108 assert(wire_prot != VM_PROT_NONE); in checker_perform_vm_wire() 147 assert(wire_prot != VM_PROT_NONE); in checker_perform_failed_vm_wire() 222 kr = mach_vm_wire(host_priv(), mach_task_self(), start, size, VM_PROT_NONE); in successful_vm_wire_read_not_cow() 454 kr = mach_vm_wire(host_priv(), mach_task_self(), start, size, VM_PROT_NONE); in vm_unwire_holes()
|
| /xnu-12377.1.9/osfmk/tests/ |
| H A D | pmap_tests.c | 171 … VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in test_pmap_enter_disconnect() 191 …VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_OPTIONS_INTERNAL, NULL, PMAP_MAPPING_… in pmap_remove_thread() 355 VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in test_pmap_nesting() 440 VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in test_pmap_nesting() 567 … VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in test_pmap_page_protect_overhead() 618 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_OPTIONS_INTERNAL, in hugepv_remove_enter_thread() 647 boolean_t success = arm_force_fast_fault(args->args.pn, VM_PROT_NONE, 0, NULL); in hugepv_fast_fault_thread() 775 … VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in test_pmap_huge_pv_list()
|
| /xnu-12377.1.9/osfmk/mach/ |
| H A D | vm_prot.h | 85 #define VM_PROT_NONE ((vm_prot_t) 0x00) macro
|
| H A D | host_priv.defs | 135 * [ To unwire the pages, specify VM_PROT_NONE. ] 285 * [ To unwire the pages, specify VM_PROT_NONE. ]
|
| /xnu-12377.1.9/tests/ |
| H A D | try_read_write_test.c | 184 addr = allocate_page_with_prot(VM_PROT_NONE); 234 result.prot = VM_PROT_NONE; in allocate_page_with_random_prot()
|
| H A D | os_thread_self_restrict_pagers.c | 563 T_ASSERT_EQ(info.protection, VM_PROT_NONE, "Entry should have no permissions"); in vm_allocate_test() 564 T_ASSERT_EQ(info.max_protection, VM_PROT_NONE, "Entry should have no permissions"); in vm_allocate_test()
|
| H A D | vm_test_mach_map.c | 2222 vm_prot_t cur_prot = VM_PROT_NONE; 2223 vm_prot_t max_prot = VM_PROT_NONE; 2246 T_EXPECT_EQ_INT(info.protection, VM_PROT_NONE, "parent: current protection is VM_PROT_NONE"); 2247 T_EXPECT_EQ_INT(info.max_protection, VM_PROT_NONE, "parent: maximum protextion is VM_PROT_NONE"); 2351 VM_PROT_NONE, VM_PROT_NONE, 2377 VM_PROT_NONE, VM_PROT_NONE,
|
| /xnu-12377.1.9/iokit/Kernel/ |
| H A D | IOGuardPageMemoryDescriptor.cpp | 112 kern_return_t kr = mach_vm_protect(map, address, length, true, VM_PROT_NONE); in doMap()
|
| /xnu-12377.1.9/bsd/kern/ |
| H A D | posix_shm.c | 865 VM_PROT_NONE, in pshm_mmap() 866 VM_PROT_NONE, in pshm_mmap()
|
| H A D | sysv_shm.c | 499 VM_PROT_NONE, in shmat() 500 VM_PROT_NONE, in shmat()
|
| /xnu-12377.1.9/osfmk/device/ |
| H A D | iokit_rpc.c | 517 pmap_enter_options(pmap, va + off, ppnum, prot, VM_PROT_NONE, flags, TRUE, in IOProtectCacheMode()
|
| /xnu-12377.1.9/osfmk/arm64/ |
| H A D | hibernate_restore.c | 362 if (protection != VM_PROT_NONE) { in pal_hib_resume_tramp()
|
| /xnu-12377.1.9/bsd/dev/dtrace/ |
| H A D | dtrace_glue.c | 195 reprotect = VM_PROT_NONE; in uwrite() 209 if (reprotect != VM_PROT_NONE) { in uwrite()
|