Home
last modified time | relevance | path

Searched refs:mprotect (Results 1 – 12 of 12) sorted by relevance

/xnu-10063.101.15/tools/tests/perf_index/
H A Dtest_fault_helper.c33 retval = mprotect(memblock, MEMSIZE, PROT_READ); in test_fault_setup()
36 retval = mprotect(memblock, MEMSIZE, PROT_READ | PROT_WRITE); in test_fault_setup()
81 retval = mprotect(memblock + region_start, region_len, PROT_READ) == 0; in test_fault_helper()
83 retval = mprotect(memblock + region_start, region_len, PROT_READ | PROT_WRITE) == 0; in test_fault_helper()
/xnu-10063.101.15/tests/
H A Drestartable_ranges.c207 T_QUIET; T_ASSERT_POSIX_SUCCESS(mprotect(p, PAGE_MAX_SIZE, in arena_alloc()
216 T_QUIET; T_ASSERT_POSIX_SUCCESS(mprotect(p, PAGE_MAX_SIZE, in arena_free()
248 T_QUIET; T_ASSERT_POSIX_SUCCESS(mprotect(&arena[1],
H A Dvm_test_code_signing_helper.c58 if (mprotect(page, page_size, PROT_READ | PROT_WRITE) != 0) { in main()
98 if (mprotect(page, page_size, PROT_READ | PROT_EXEC) != 0) { in main()
H A Dmemcmp_zero.c13 mprotect(p, PAGE_SIZE, PROT_READ | PROT_WRITE); in get_guarded_page()
H A Dbacktracing_tests.c386 error = mprotect(guard_page, vm_page_size, PROT_READ);
H A Dldt.c698 if (mprotect(addr, PAGE_SIZE, PROT_NONE) < 0) { in map_lowmem_stack()
/xnu-10063.101.15/bsd/sys/
H A Dmman.h266 int mprotect(void *, size_t, int) __DARWIN_ALIAS(mprotect);
/xnu-10063.101.15/tests/vm/
H A Dzalloc_buddy.c25 int rc = mprotect((void *)addr, size, PROT_READ | PROT_WRITE); in zba_populate_any()
62 rc = mprotect(zba_base_header(), ZBA_TEST_SIZE, PROT_NONE); in zba_test_setup()
/xnu-10063.101.15/libsyscall/wrappers/legacy/
H A Dmprotect.c43 mprotect(void *addr, size_t len, int prot) in mprotect() function
/xnu-10063.101.15/bsd/man/man2/
H A DMakefile143 mprotect.2 \
/xnu-10063.101.15/libsyscall/Libsyscall.xcodeproj/
H A Dproject.pbxproj90 …248BA089121DA8E0008C073F /* mprotect.c in Sources */ = {isa = PBXBuildFile; fileRef = 248BA088121D…
517 …8121DA8E0008C073F /* mprotect.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
983 248BA088121DA8E0008C073F /* mprotect.c */,
1587 248BA089121DA8E0008C073F /* mprotect.c in Sources */,
/xnu-10063.101.15/bsd/kern/
H A Dkern_mman.c1100 mprotect(__unused proc_t p, struct mprotect_args *uap, __unused int32_t *retval) in mprotect() function