Lines Matching refs:act

109 	struct sigaction act;  in ATF_TC_BODY()  local
111 act.sa_sigaction = upcalls_not_started_handler1; in ATF_TC_BODY()
112 sigemptyset(&act.sa_mask); in ATF_TC_BODY()
113 sigaddset(&act.sa_mask, SIGUSR2); in ATF_TC_BODY()
114 act.sa_flags = SA_SIGINFO; in ATF_TC_BODY()
116 ATF_REQUIRE_EQ(sigaction(SIGUSR1, &act, NULL), 0); in ATF_TC_BODY()
118 act.sa_sigaction = upcalls_not_started_handler2; in ATF_TC_BODY()
119 sigemptyset(&act.sa_mask); in ATF_TC_BODY()
120 act.sa_flags = SA_SIGINFO; in ATF_TC_BODY()
121 (void)sigaction(SIGUSR2, &act, NULL); in ATF_TC_BODY()
179 struct sigaction act; in ATF_TC_BODY() local
182 act.sa_sigaction = respected_while_running_handler1; in ATF_TC_BODY()
183 sigemptyset(&act.sa_mask); in ATF_TC_BODY()
184 sigaddset(&act.sa_mask, SIGUSR2); in ATF_TC_BODY()
185 act.sa_flags = SA_SIGINFO; in ATF_TC_BODY()
187 ATF_REQUIRE_EQ(sigaction(SIGUSR1, &act, NULL), 0); in ATF_TC_BODY()
189 act.sa_sigaction = respected_while_running_handler2; in ATF_TC_BODY()
190 sigemptyset(&act.sa_mask); in ATF_TC_BODY()
191 act.sa_flags = SA_SIGINFO; in ATF_TC_BODY()
192 (void)sigaction(SIGUSR2, &act, NULL); in ATF_TC_BODY()
224 struct sigaction act; in ATF_TC_BODY() local
226 act.sa_sigaction = NULL; in ATF_TC_BODY()
227 sigemptyset(&act.sa_mask); in ATF_TC_BODY()
228 act.sa_flags = 0; in ATF_TC_BODY()
229 act.sa_handler = incorrect_mask_bug_handler; in ATF_TC_BODY()
231 ATF_REQUIRE_EQ_MSG(sigaction(SIGALRM, &act, NULL), 0, "%s", in ATF_TC_BODY()
234 sigaddset(&act.sa_mask, SIGALRM); in ATF_TC_BODY()
235 PTHREAD_REQUIRE(pthread_sigmask(SIG_SETMASK, &act.sa_mask, NULL)); in ATF_TC_BODY()
241 sigemptyset(&act.sa_mask); in ATF_TC_BODY()
242 PTHREAD_REQUIRE(pthread_sigmask(SIG_SETMASK, &act.sa_mask, NULL)); in ATF_TC_BODY()