Lines Matching refs:PROT_READ
126 uint8_t* buffer = (uint8_t*) mmap(NULL, mBufferSize, PROT_READ | PROT_WRITE,135 if (mprotect(buffer, mBufferSize, PROT_READ) == -1) {