Searched refs:mprotect (Results 1 – 12 of 12) sorted by relevance
| /xnu-10063.101.15/tools/tests/perf_index/ |
| H A D | test_fault_helper.c | 33 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 D | restartable_ranges.c | 207 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 D | vm_test_code_signing_helper.c | 58 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 D | memcmp_zero.c | 13 mprotect(p, PAGE_SIZE, PROT_READ | PROT_WRITE); in get_guarded_page()
|
| H A D | backtracing_tests.c | 386 error = mprotect(guard_page, vm_page_size, PROT_READ);
|
| H A D | ldt.c | 698 if (mprotect(addr, PAGE_SIZE, PROT_NONE) < 0) { in map_lowmem_stack()
|
| /xnu-10063.101.15/bsd/sys/ |
| H A D | mman.h | 266 int mprotect(void *, size_t, int) __DARWIN_ALIAS(mprotect);
|
| /xnu-10063.101.15/tests/vm/ |
| H A D | zalloc_buddy.c | 25 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 D | mprotect.c | 43 mprotect(void *addr, size_t len, int prot) in mprotect() function
|
| /xnu-10063.101.15/bsd/man/man2/ |
| H A D | Makefile | 143 mprotect.2 \
|
| /xnu-10063.101.15/libsyscall/Libsyscall.xcodeproj/ |
| H A D | project.pbxproj | 90 …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 D | kern_mman.c | 1100 mprotect(__unused proc_t p, struct mprotect_args *uap, __unused int32_t *retval) in mprotect() function
|