Searched refs:mprotect (Results 1 - 8 of 8) sorted by relevance
/haiku/src/tests/system/libroot/posix/ |
H A D | mprotect_test.cpp | 40 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/src/tests/system/kernel/ |
H A D | mmap_cut_tests.cpp | 59 mprotect(ptr + B_PAGE_SIZE * 3, B_PAGE_SIZE, PROT_READ | PROT_WRITE); 99 mprotect(ptr, B_PAGE_SIZE, PROT_READ | PROT_WRITE);
|
/haiku/headers/posix/sys/ |
H A D | mman.h | 58 int mprotect(void* address, size_t length, int protection);
|
/haiku/src/system/libroot/posix/sys/ |
H A D | mman.cpp | 169 mprotect(void* address, size_t length, int protection) function
|
/haiku/src/system/libroot/posix/malloc_debug/ |
H A D | guarded_heap.cpp | 229 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 D | heap.cpp | 1739 if (mprotect((void *)((addr_t)address + areaSize - B_PAGE_SIZE),
|
/haiku/src/system/libroot/stubbed/ |
H A D | libroot_stubs.c | 2098 void mprotect() {} function
|
H A D | libroot_stubs_legacy.c | 2070 void mprotect() {} function
|
Completed in 161 milliseconds