Home
last modified time | relevance | path

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

/third_party/musl/porting/linux/user/src/thread/
Dpthread_create.c58 stack_t signal_stack; in __pthread_reserve_signal_stack() local
59 signal_stack.ss_sp = (uint8_t*)stack + __default_guardsize; in __pthread_reserve_signal_stack()
60 signal_stack.ss_size = RESERVE_SIGNAL_STACK_SIZE - __default_guardsize; in __pthread_reserve_signal_stack()
61 signal_stack.ss_flags = 0; in __pthread_reserve_signal_stack()
62 sigaltstack(&signal_stack, NULL); in __pthread_reserve_signal_stack()
65 self->signal_stack = stack; in __pthread_reserve_signal_stack()
68 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, signal_stack.ss_sp, signal_stack.ss_size, name); in __pthread_reserve_signal_stack()
75 if (self->signal_stack == NULL) { in __pthread_release_signal_stack()
79 stack_t signal_stack, old_stack; in __pthread_release_signal_stack() local
80 memset(&signal_stack, 0, sizeof(signal_stack)); in __pthread_release_signal_stack()
[all …]
/third_party/ltp/testcases/cve/
Dstack_clash.c136 stack_t signal_stack; in do_child() local
165 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()
/third_party/musl/porting/linux/user/src/internal/
Dpthread_impl.h80 void *signal_stack; member