Searched refs:seg (Results 1 - 1 of 1) sorted by relevance

/libmicro/
H A Dmprotect.c59 static vchar_t *seg; variable
125 seg = (vchar_t *)mmap(NULL, lm_optB * optl, PROT_READ | PROT_WRITE,
128 if (seg == MAP_FAILED) {
134 foo += seg[i];
140 seg[i] = 1;
165 k += seg[i * optl + j];
174 if (mprotect((void *)&seg[i * optl], optl, prot) == -1) {

Completed in 11 milliseconds