Lines Matching refs:PROT_READ
48 return PROT_READ;
52 return PROT_READ | PROT_WRITE;
54 return PROT_READ | PROT_EXEC;
57 return PROT_READ | PROT_WRITE | PROT_EXEC;
66 return PROT_READ | PROT_EXEC;
110 Protect |= PROT_MPROTECT(PROT_READ | PROT_WRITE | PROT_EXEC);
190 // and CPU segfaults on trying to clear cache on !PROT_READ page. Therefore we need
191 // to temporarily add PROT_READ for the sake of flushing the instruction caches.
192 if (InvalidateCache && !(Protect & PROT_READ)) {
193 int Result = ::mprotect((void *)Start, End - Start, Protect | PROT_READ);