Searched refs:signal_stack (Results 1 – 2 of 2) sorted by relevance
43 stack_t signal_stack; in PlatformUnpoisonStacks() local44 CHECK_EQ(0, sigaltstack(nullptr, &signal_stack)); in PlatformUnpoisonStacks()45 uptr sigalt_bottom = (uptr)signal_stack.ss_sp; in PlatformUnpoisonStacks()46 uptr sigalt_top = (uptr)((char *)signal_stack.ss_sp + signal_stack.ss_size); in PlatformUnpoisonStacks()53 if (signal_stack.ss_flags != SS_DISABLE) in PlatformUnpoisonStacks()56 if (signal_stack.ss_flags != SS_ONSTACK) in PlatformUnpoisonStacks()
136 stack_t signal_stack; in do_child() local165 signal_stack.ss_sp = SAFE_MALLOC(SIGNAL_STACK_SIZE); in do_child()166 signal_stack.ss_size = SIGNAL_STACK_SIZE; in do_child()167 signal_stack.ss_flags = 0; in do_child()168 if (sigaltstack(&signal_stack, NULL) == -1) { in do_child()