Home
last modified time | relevance | path

Searched refs:oact (Results 1 – 25 of 67) sorted by relevance

123

/external/ltp/include/lapi/
Drt_sigaction.h80 struct sigaction act, oact; in sig_initial() local
89 } else if (sigaction(sig, &act, &oact) < 0) { in sig_initial()
91 } else if (sigaction(sig, &act, &oact) < 0) { in sig_initial()
95 restore_rt = oact.sa_restorer; in sig_initial()
180 struct sigaction *oact, size_t sigsetsize) in ltp_rt_sigaction() argument
198 if (oact == INVAL_SA_PTR) in ltp_rt_sigaction()
200 else if (oact) in ltp_rt_sigaction()
236 if (oact && (oact != INVAL_SA_PTR)) { in ltp_rt_sigaction()
237 oact->sa_handler = koact.k_sa_handler; in ltp_rt_sigaction()
238 memcpy(&oact->sa_mask, &koact.sa_mask, in ltp_rt_sigaction()
[all …]
/external/bison/lib/
Dsigaction.c132 struct sigaction *restrict oact) in sigaction() argument
158 if (!act && !oact) in sigaction()
162 if (oact) in sigaction()
165 *oact = action_array[sig]; in sigaction()
170 oact->sa_handler = signal (sig, SIG_DFL); in sigaction()
171 if (oact->sa_handler == SIG_ERR) in sigaction()
173 signal (sig, oact->sa_handler); in sigaction()
174 oact->sa_flags = SA_RESETHAND | SA_NODEFER; in sigaction()
175 sigemptyset (&oact->sa_mask); in sigaction()
/external/ltp/testcases/kernel/syscalls/rt_sigsuspend/
Drt_sigsuspend01.c67 struct sigaction act, oact; in main() local
69 memset(&oact, 0, sizeof(oact)); in main()
72 TEST(ltp_rt_sigaction(SIGALRM, &act, &oact, SIGSETSIZE)); in main()
/external/ltp/testcases/kernel/syscalls/rt_sigprocmask/
Drt_sigprocmask01.c76 struct sigaction act, oact; in main() local
78 memset(&oact, 0, sizeof(oact)); in main()
101 TEST(ltp_rt_sigaction(TEST_SIG, &act, &oact, in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D2-17.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGUSR1, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-12.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGSEGV, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-19.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGALRM, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-25.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGXCPU, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-16.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGTTOU, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-23.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGURG, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-7.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGHUP, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-10.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGPIPE, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-11.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGQUIT, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-22.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGTRAP, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-15.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGTTIN, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-18.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGUSR2, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-6.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGFPE, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-2.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGALRM, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-13.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGTERM, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-24.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGVTALRM, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-26.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGXFSZ, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-1.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGABRT, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-14.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGTSTP, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-4.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGCHLD, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()
D2-21.c37 struct sigaction oact; in main() local
50 if (sigaction(SIGSYS, &act, &oact) == -1) { in main()
56 if (oact.sa_handler == handler1) { in main()

123