Searched refs:sigstk (Results 1 – 3 of 3) sorted by relevance
87 stack_t sigstk, osigstk; /* signal stack storing struct. */ variable108 sigstk.ss_size = SIGSTKSZ; in main()109 sigstk.ss_flags = 0; in main()110 TEST(sigaltstack(&sigstk, &osigstk)); in main()145 if ((alt_stk < sigstk.ss_sp) && in main()146 (alt_stk > (sigstk.ss_sp + SIGSTKSZ))) { in main()150 } else if ((main_stk >= sigstk.ss_sp) && in main()152 (sigstk.ss_sp + SIGSTKSZ))) { in main()204 if ((sigstk.ss_sp = malloc(SIGSTKSZ)) == NULL) { in setup()236 free(sigstk.ss_sp); in cleanup()
87 stack_t sigstk; /* signal stack storing struct. */ variable125 sigstk.ss_size = Test_cases[ind].size; in main()126 sigstk.ss_flags = Test_cases[ind].flag; in main()130 TEST(sigaltstack(&sigstk, NULL)); in main()174 if ((sigstk.ss_sp = malloc(SIGSTKSZ)) == NULL) { in setup()189 free(sigstk.ss_sp); in cleanup()
15 stack_t sigstk; in main() local23 sigstk.ss_sp = stk; in main()25 sigstk.ss_size = size; in main()26 sigstk.ss_flags = 0; in main()28 (uintptr_t)sigstk.ss_sp); in main()29 if (sigaltstack(&sigstk,0)<0) perror("sigaltstack"); in main()