| /xnu-12377.81.4/osfmk/vm/ |
| H A D | vm_sanitize.c | 677 *prot = VM_PROT_NONE; in vm_sanitize_prot() 684 *prot = VM_PROT_NONE; in vm_sanitize_prot() 768 *cur_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots() 769 *max_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots() 775 *cur_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots() 776 *max_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots() 796 *cur_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots() 797 *max_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots() 841 *perm = VM_PROT_NONE; in vm_sanitize_memory_entry_perm()
|
| H A D | vm_sanitize_internal.h | 1022 return vm_sanitize_prot(prot_u, vm_sanitize_caller, map, VM_PROT_NONE, prot); in vm_sanitize_prot() 1062 VM_PROT_NONE, cur_prot, max_prot); in vm_sanitize_cur_and_max_prots()
|
| H A D | vm_user.c | 967 if (copy || max_protection == VM_PROT_READ || max_protection == VM_PROT_NONE) { in mach_vm_remap_new_external() 1024 *cur_protection = vm_sanitize_wrap_prot(VM_PROT_NONE); in mach_vm_remap_external() 1025 *max_protection = vm_sanitize_wrap_prot(VM_PROT_NONE); in mach_vm_remap_external() 2278 VM_PROT_NONE, VM_PROT_ALL, in mach_vm_range_create_v1()
|
| H A D | vm_map.c | 3744 max_protection != VM_PROT_NONE && in vm_map_enter() 5278 cur_protection, VM_PROT_NONE, in vm_map_enter_mem_object() 6186 cur_prot = VM_PROT_NONE; in vm_map_protect() 6552 prot = VM_PROT_NONE; in vm_map_protect() 8246 VM_PROT_NONE, in vm_map_submap_pmap_clean() 8283 VM_PROT_NONE, in vm_map_submap_pmap_clean() 9396 VM_PROT_NONE, in vm_map_delete() 9558 VM_PROT_NONE, in vm_map_delete() 9643 entry->protection = VM_PROT_NONE; in vm_map_delete() 9644 entry->max_protection = VM_PROT_NONE; in vm_map_delete() [all …]
|
| H A D | vm_tests.c | 932 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target() 933 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target() 941 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target() 942 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target() 2753 VM_PROT_NONE, in vm_map_wire_copy_delay_memory_test() 3596 if (args.fault_prot != VM_PROT_NONE) { in vm_upl_object_test() 3631 if (args.fault_prot != VM_PROT_NONE) { in vm_upl_object_test() 3658 if ((error == 0) && (args.fault_prot != VM_PROT_NONE)) { in vm_upl_object_test()
|
| H A D | vm_memory_entry.c | 728 cur_prot = VM_PROT_NONE; in mach_make_memory_entry_share() 729 max_prot = VM_PROT_NONE; in mach_make_memory_entry_share() 779 if (protections == VM_PROT_NONE) { in mach_make_memory_entry_share() 1291 VM_SANITIZE_FLAGS_NONE, VM_PROT_NONE, in mach_memory_object_memory_entry_64_sanitize()
|
| H A D | vm_fault.c | 1332 if (fault_type == VM_PROT_NONE) { in vm_fault_page() 1614 if (fault_type == VM_PROT_NONE && in vm_fault_page() 1958 wants_copy_flag = VM_PROT_NONE; in vm_fault_page() 4151 fault_type = fault_info->fi_change_wiring ? VM_PROT_NONE : caller_prot; in vm_fault_enter() 4609 fault_type = (fault_info->fi_change_wiring ? VM_PROT_NONE : caller_prot); in vm_fault_internal() 5997 enter_fault_type = VM_PROT_NONE; in vm_fault_internal() 7156 (void) vm_fault(map, va, VM_PROT_NONE, in vm_fault_unwire() 7173 prot = VM_PROT_NONE; in vm_fault_unwire() 7182 VM_PROT_NONE, TRUE, in vm_fault_unwire() 7729 assert((dst_prot & VM_PROT_WRITE) != VM_PROT_NONE); in vm_fault_copy() [all …]
|
| H A D | vm_kern.c | 1428 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter() 1437 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter() 1649 pmap_protect(kernel_pmap, offset, offset + size, VM_PROT_NONE); in kernel_memory_depopulate() 2146 VM_PROT_NONE); in kmem_realloc_guard() 4534 (vm_object_offset_t) 0, FALSE, VM_PROT_NONE, VM_PROT_NONE, in kmem_init() 4565 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.81.4/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.81.4/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.81.4/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.81.4/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.81.4/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.81.4/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.81.4/bsd/kern/ |
| H A D | posix_shm.c | 865 VM_PROT_NONE, in pshm_mmap() 866 VM_PROT_NONE, in pshm_mmap()
|
| /xnu-12377.81.4/osfmk/device/ |
| H A D | iokit_rpc.c | 532 pmap_enter_options(pmap, va + off, ppnum, prot, VM_PROT_NONE, flags, TRUE, in IOProtectCacheMode()
|
| /xnu-12377.81.4/osfmk/arm64/ |
| H A D | hibernate_restore.c | 362 if (protection != VM_PROT_NONE) { in pal_hib_resume_tramp()
|
| /xnu-12377.81.4/bsd/dev/dtrace/ |
| H A D | dtrace_glue.c | 195 reprotect = VM_PROT_NONE; in uwrite() 209 if (reprotect != VM_PROT_NONE) { in uwrite()
|