Home
last modified time | relevance | path

Searched refs:mach_vm_protect (Results 1 – 17 of 17) sorted by relevance

/xnu-8019.80.24/tests/
H A Dperf_exit_proc.c49 err = mach_vm_protect(task, addr, size, 0, VM_PROT_READ | VM_PROT_WRITE); in allocate_and_wire_memory()
/xnu-8019.80.24/iokit/Kernel/
H A DIOGuardPageMemoryDescriptor.cpp112 kern_return_t kr = mach_vm_protect(map, address, length, true, VM_PROT_NONE); in doMap()
/xnu-8019.80.24/libsyscall/mach/
H A Dmach_vm.c91 mach_vm_protect( in mach_vm_protect() function
155 rv = mach_vm_protect(task, address, size, set_maximum, new_protection); in vm_protect()
/xnu-8019.80.24/tests/vm_memory_tests_src/
H A Dvm_tests.c284 …kr = mach_vm_protect(mach_task_self(), (mach_vm_address_t) lsrc, (mach_vm_size_t)getpagesize(), FA… in mach_server_make_memory_entry()
354 …kr = mach_vm_protect(mach_task_self(), (mach_vm_address_t) lsrc, (mach_vm_size_t)getpagesize(), FA… in mach_server_make_memory_entry()
361 …kr = mach_vm_protect(mach_task_self(), (mach_vm_address_t) lsrc, (mach_vm_size_t)getpagesize(), FA… in mach_server_make_memory_entry()
/xnu-8019.80.24/tests/vm/
H A Dvm_allocation.c1466 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_vm_protect(mach_task_self(), address, size, FALSE, protection)… in set_up_vm_variables_allocate_protect()
2210 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_vm_protect(mach_task_self(), mid_point, vm_page_size, FALSE, V… in test_read_partially_unreadable_range()
2415 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_vm_protect(mach_task_self(), buffer_mid_point, vm_page_size, F… in test_write_partially_unreadable_buffer()
2470 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_vm_protect(mach_task_self(), start, vm_page_size, FALSE, VM_PR… in test_write_on_partially_unwritable_range()
2743 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_vm_protect(mach_task_self(), mid_point, vm_page_size, FALSE, V… in test_copy_partially_unreadable_range()
2821 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_vm_protect(mach_task_self(), mid_point, vm_page_size, FALSE, V… in test_copy_source_partially_unreadable_region()
2848 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_vm_protect(mach_task_self(), mid_point, vm_page_size, FALSE, V… in test_copy_dest_partially_unwriteable_region()
2935 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_vm_protect(mach_task_self(), start, vm_page_size, FALSE, VM_PR… in test_copy_dest_on_partially_unwritable_range()
2965 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_vm_protect(mach_task_self(), start, vm_page_size, FALSE, VM_PR… in test_copy_source_on_partially_unreadable_range()
2996 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_vm_protect(mach_task_self(), address, size, FALSE, VM_PROT_DEF… in test_zero_filled_readprotect()
[all …]
/xnu-8019.80.24/bsd/dev/dtrace/
H A Ddtrace_ptss.c199 …kr = mach_vm_protect(map, (mach_vm_offset_t)write_addr, (mach_vm_size_t)size, 0, VM_PROT_READ | VM… in dtrace_ptss_allocate_page()
H A Ddtrace_glue.c183 …ret = mach_vm_protect(map, (mach_vm_offset_t)a, (mach_vm_size_t)len, 0, (reprotect & ~VM_PROT_EXEC… in uwrite()
190 …ret = mach_vm_protect(map, (mach_vm_offset_t)a, (mach_vm_size_t)len, 0, VM_PROT_COPY | VM_PROT_REA… in uwrite()
214 ret = mach_vm_protect(map, (mach_vm_offset_t)a, (mach_vm_size_t)len, 0, reprotect); in uwrite()
/xnu-8019.80.24/tools/tests/superpages/
H A Dtestsp.c510 mach_vm_protect(mach_task_self(), addr, size, 0, VM_PROT_READ); in test_readonly()
549 mach_vm_protect(mach_task_self(), addr + PAGE_SIZE, PAGE_SIZE, 0, VM_PROT_READ); in test_readonlysubpage()
/xnu-8019.80.24/bsd/kern/
H A Dkern_core.c476 mach_vm_protect(map, vmoffset, vmsize, FALSE, in coredump()
H A Dkern_resource.c1090 kr = mach_vm_protect(current_map(), addr, size, FALSE, VM_PROT_DEFAULT); in dosetrlimit()
1130 kr = mach_vm_protect(current_map(), addr, size, FALSE, VM_PROT_NONE); in dosetrlimit()
H A Dkern_mman.c1078 result = mach_vm_protect(user_map, user_addr, user_size, in mprotect()
H A Dkern_exec.c6354 kr = mach_vm_protect(map, in create_unix_stack()
/xnu-8019.80.24/osfmk/vm/
H A Dvm32_user.c161 return mach_vm_protect(map, start, size, set_maximum, new_protection); in vm32_protect()
H A Dvm_user.c457 mach_vm_protect( in mach_vm_protect() function
/xnu-8019.80.24/osfmk/ipc/
H A Dmach_kernelrpc.c101 rv = mach_vm_protect(task->map, args->address, args->size, in _kernelrpc_mach_vm_protect_trap()
/xnu-8019.80.24/bsd/tests/
H A Dcopyio_tests.c111 …kern_return_t ret = mach_vm_protect(data->user_map, data->user_addr, copyio_test_buf_size, false, … in copyio_test_protect()
/xnu-8019.80.24/osfmk/mach/
H A Dmach_vm.defs163 routine PREFIX(mach_vm_protect) (