/external/ltp/include/lapi/ |
D | rt_sigaction.h | 88 struct sigaction act, oact; in sig_initial() local 97 } else if (sigaction(sig, &act, &oact) < 0) { in sig_initial() 99 } else if (sigaction(sig, &act, &oact) < 0) { in sig_initial() 103 restore_rt = oact.sa_restorer; in sig_initial() 194 struct sigaction *oact, size_t sigsetsize) in ltp_rt_sigaction() argument 213 if (oact == INVAL_SA_PTR) in ltp_rt_sigaction() 215 else if (oact) in ltp_rt_sigaction() 251 if (oact && (oact != INVAL_SA_PTR)) { in ltp_rt_sigaction() 252 oact->sa_handler = koact.k_sa_handler; in ltp_rt_sigaction() 253 memcpy(&oact->sa_mask, &koact.sa_mask, in ltp_rt_sigaction() [all …]
|
/external/ltp/testcases/kernel/syscalls/rt_sigprocmask/ |
D | rt_sigprocmask01.c | 76 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/ |
D | 2-8.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGILL, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-9.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGINT, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-23.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGURG, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-7.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGHUP, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-11.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGQUIT, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-25.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGXCPU, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-12.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGSEGV, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-22.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGTRAP, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-14.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGTSTP, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-10.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGPIPE, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-5.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGCONT, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-3.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGBUS, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-13.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGTERM, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-17.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGUSR1, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-4.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGCHLD, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-18.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGUSR2, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-21.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGSYS, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-26.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGXFSZ, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-19.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGALRM, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-1.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGABRT, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-16.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGTTOU, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-15.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGTTIN, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|
D | 2-24.c | 37 struct sigaction oact; in main() local 50 if (sigaction(SIGVTALRM, &act, &oact) == -1) { in main() 56 if (oact.sa_handler == handler1) { in main()
|