Searched refs:mprotect (Results 1 - 8 of 8) sorted by path

/haiku/src/tests/system/libroot/posix/
H A Dmprotect_test.cpp40 if (mprotect(sMappedBase + sMappedSize - PAGE_SIZE, PAGE_SIZE,
42 fprintf(stderr, "SIGSEGV: mprotect() failed: %s\n", strerror(errno));
59 if (mprotect(sMappedBase + sMappedSize - PAGE_SIZE, PAGE_SIZE, PROT_READ)
61 fprintf(stderr, "SIGSEGV: mprotect() failed: %s\n", strerror(errno));
92 if (mprotect(sMappedBase + sMappedSize - PAGE_SIZE, PAGE_SIZE, PROT_READ)
94 fprintf(stderr, "mprotect() failed: %s\n", strerror(errno));
/haiku/headers/posix/sys/
H A Dmman.h58 int mprotect(void* address, size_t length, int protection);
/haiku/src/system/libroot/posix/malloc_debug/
H A Dguarded_heap.cpp229 mprotect((void*)address, B_PAGE_SIZE, protection);
539 mprotect((void*)((addr_t)address + pagesNeeded * B_PAGE_SIZE),
546 mprotect((void*)protectedStart, protectedSize, 0);
556 mprotect((void*)protectedStart, protectedSize, 0);
H A Dheap.cpp1739 if (mprotect((void *)((addr_t)address + areaSize - B_PAGE_SIZE),
/haiku/src/system/libroot/posix/sys/
H A Dmman.cpp169 mprotect(void* address, size_t length, int protection) function
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs.c2098 void mprotect() {} function
H A Dlibroot_stubs_legacy.c2070 void mprotect() {} function
/haiku/src/tests/system/kernel/
H A Dmmap_cut_tests.cpp59 mprotect(ptr + B_PAGE_SIZE * 3, B_PAGE_SIZE, PROT_READ | PROT_WRITE);
99 mprotect(ptr, B_PAGE_SIZE, PROT_READ | PROT_WRITE);

Completed in 728 milliseconds