Home
last modified time | relevance | path

Searched refs:internal_mprotect (Results 1 – 8 of 8) sorted by relevance

/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix.h44 int internal_mprotect(void *addr, uptr length, int prot);
H A Dsanitizer_posix.cpp152 return 0 == internal_mprotect((void*)addr, size, PROT_NONE); in MprotectNoAccess()
156 return 0 == internal_mprotect((void *)addr, size, PROT_READ); in MprotectReadOnly()
H A Dsanitizer_netbsd.cpp114 int internal_mprotect(void *addr, uptr length, int prot) { in internal_mprotect() function
H A Dsanitizer_mac.cpp153 int internal_mprotect(void *addr, uptr length, int prot) { in internal_mprotect() function
H A Dsanitizer_linux.cpp230 int internal_mprotect(void *addr, uptr length, int prot) { in internal_mprotect() function
H A Dsanitizer_common_interceptors.inc7603 return (int)internal_mprotect(addr, sz, prot);
/openbsd/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_mac.cpp82 res = internal_mprotect(dts, sizeof(ThreadState), PROT_READ); // immutable in InitializeThreadStateStorage()
H A Dtsan_platform_linux.cpp523 CHECK_EQ(0, internal_mprotect(dead_thread_state, sizeof(ThreadState), in cur_thread()