Home
last modified time | relevance | path

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

/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp613 size_t thread_stack_pages = 8; in debuggerd_init() local
614 void* thread_stack_allocation = mmap(nullptr, PAGE_SIZE * (thread_stack_pages + 2), PROT_NONE, in debuggerd_init()
621 if (mprotect(stack, PAGE_SIZE * thread_stack_pages, PROT_READ | PROT_WRITE) != 0) { in debuggerd_init()
626 stack = (stack + thread_stack_pages * PAGE_SIZE - 1); in debuggerd_init()