Home
last modified time | relevance | path

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

123

/third_party/ltp/include/lapi/
Drt_sigaction.h68 struct sigaction act, oact; in sig_initial() local
77 } else if (sigaction(sig, &act, &oact) < 0) { in sig_initial()
79 } else if (sigaction(sig, &act, &oact) < 0) { in sig_initial()
83 restore_rt = oact.sa_restorer; in sig_initial()
174 struct sigaction *oact, size_t sigsetsize) in ltp_rt_sigaction() argument
193 if (oact == INVAL_SA_PTR) in ltp_rt_sigaction()
195 else if (oact) in ltp_rt_sigaction()
231 if (oact && (oact != INVAL_SA_PTR)) { in ltp_rt_sigaction()
232 oact->sa_handler = koact.k_sa_handler; in ltp_rt_sigaction()
233 memcpy(&oact->sa_mask, &koact.sa_mask, in ltp_rt_sigaction()
[all …]
Dsafe_rt_signal.h13 struct sigaction *oact, size_t sigsetsize) in safe_rt_sigaction() argument
17 ret = ltp_rt_sigaction(signum, act, oact, sigsetsize); in safe_rt_sigaction()
22 signum, act, oact, sigsetsize); in safe_rt_sigaction()
26 signum, act, oact, sigsetsize, ret); in safe_rt_sigaction()
/third_party/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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D2-17.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGUSR1, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-9.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGINT, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-23.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGURG, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-25.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGXCPU, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-13.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGTERM, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-11.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGQUIT, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-12.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGSEGV, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-21.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGSYS, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-20.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGPROF, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-10.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGPIPE, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-14.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGTSTP, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-15.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGTTIN, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-2.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGALRM, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-18.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGUSR2, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-16.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGTTOU, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-22.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGTRAP, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-4.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGCHLD, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-5.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGCONT, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-26.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGXFSZ, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-19.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGALRM, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-7.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGHUP, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()
D2-1.c35 struct sigaction oact; in main() local
48 if (sigaction(SIGABRT, &act, &oact) == -1) { in main()
54 if (oact.sa_handler == handler1) { in main()

123