Searched refs:STACK_GUARD_SIZE (Results 1 – 3 of 3) sorted by relevance
29 #define STACK_GUARD_SIZE NACL_PAGESIZE macro48 uint8_t *stack = mmap(NULL, g_signal_stack_size + STACK_GUARD_SIZE, in NaClSignalStackAllocate()55 if (mprotect(stack, STACK_GUARD_SIZE, PROT_NONE) != 0) { in NaClSignalStackAllocate()65 if (munmap(stack, g_signal_stack_size + STACK_GUARD_SIZE) != 0) { in NaClSignalStackFree()81 st.ss_sp = ((uint8_t *) stack) + STACK_GUARD_SIZE; in NaClSignalStackRegister()
44 #ifndef STACK_GUARD_SIZE45 # define STACK_GUARD_SIZE 4096 macro
42 stack_guard = (STACK_TOP + STACK_GUARD_SIZE); \