Home
last modified time | relevance | path

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

/nptl/
A Dallocatestack.c165 const int prot) in setup_stack_prot() argument
171 if (__mprotect (guardend, size - guardsize, prot) != 0) in setup_stack_prot()
175 if (__mprotect (mem, mprots1, prot) != 0) in setup_stack_prot()
178 if (__mprotect (guardend, mprots2, prot) != 0) in setup_stack_prot()
332 const int prot = (PROT_READ | PROT_WRITE in allocate_stack() local
370 mem = __mmap (NULL, size, (guardsize == 0) ? prot : PROT_NONE, in allocate_stack()
397 if (setup_stack_prot (mem, size, guard, guardsize, prot) != 0) in allocate_stack()
456 && (prot & PROT_EXEC) == 0, 0)) in allocate_stack()
517 && __mprotect (oldguard, guard - oldguard, prot) != 0) in allocate_stack()
522 prot) != 0) in allocate_stack()
[all …]

Completed in 3 milliseconds