Home
last modified time | relevance | path

Searched refs:sigaction (Results 1 – 25 of 218) sorted by relevance

123456789

/OK3568_Linux_fs/kernel/tools/testing/selftests/clone3/
H A Dclone3_clear_sighand.c51 struct sigaction act; in test_clone3_clear_sighand()
73 ret = sigaction(SIGUSR1, &act, NULL); in test_clone3_clear_sighand()
80 ret = sigaction(SIGUSR2, &act, NULL); in test_clone3_clear_sighand()
94 ret = sigaction(SIGUSR1, NULL, &act); in test_clone3_clear_sighand()
101 ret = sigaction(SIGUSR2, NULL, &act); in test_clone3_clear_sighand()
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/shared/
H A Dsigio.c183 struct sigaction sa; in xf86InstallSIGIOHandler()
184 struct sigaction osa; in xf86InstallSIGIOHandler()
231 sigaction(SIGIO, &sa, &osa); in xf86InstallSIGIOHandler()
254 struct sigaction sa; in xf86RemoveSIGIOHandler()
255 struct sigaction osa; in xf86RemoveSIGIOHandler()
297 sigaction(SIGIO, &sa, &osa); in xf86RemoveSIGIOHandler()
/OK3568_Linux_fs/kernel/tools/testing/selftests/x86/
H A Dioperm.c28 struct sigaction sa; in sethandler()
33 if (sigaction(sig, &sa, 0)) in sethandler()
40 struct sigaction sa; in clearhandler()
44 if (sigaction(sig, &sa, 0)) in clearhandler()
H A Dsysret_rip.c45 struct sigaction sa; in sethandler()
50 if (sigaction(sig, &sa, 0)) in sethandler()
56 struct sigaction sa; in clearhandler()
60 if (sigaction(sig, &sa, 0)) in clearhandler()
H A Dsingle_step_syscall.c39 struct sigaction sa; in sethandler()
44 if (sigaction(sig, &sa, 0)) in sethandler()
50 struct sigaction sa; in clearhandler()
54 if (sigaction(sig, &sa, 0)) in clearhandler()
H A Diopl.c28 struct sigaction sa; in sethandler()
33 if (sigaction(sig, &sa, 0)) in sethandler()
40 struct sigaction sa; in clearhandler()
44 if (sigaction(sig, &sa, 0)) in clearhandler()
H A Dptrace_syscall.c99 struct sigaction sa; in sethandler()
104 if (sigaction(sig, &sa, 0)) in sethandler()
110 struct sigaction sa; in setsigign()
115 if (sigaction(sig, &sa, 0)) in setsigign()
121 struct sigaction sa; in clearhandler()
125 if (sigaction(sig, &sa, 0)) in clearhandler()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dtracelog.c127 const struct sigaction act = { in do_tracelog()
145 sigaction(SIGHUP, &act, NULL); in do_tracelog()
146 sigaction(SIGINT, &act, NULL); in do_tracelog()
147 sigaction(SIGTERM, &act, NULL); in do_tracelog()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/mm/
H A Dwild_bctr.c126 struct sigaction segv = { in test_wild_bctr()
130 struct sigaction usr2 = { in test_wild_bctr()
135 FAIL_IF(sigaction(SIGSEGV, &segv, NULL)); in test_wild_bctr()
136 FAIL_IF(sigaction(SIGUSR2, &usr2, NULL)); in test_wild_bctr()
H A Dsubpage_prot.c151 struct sigaction act = { in test_anon()
165 sigaction(SIGSEGV, &act, NULL); in test_anon()
187 struct sigaction act = { in test_file()
202 sigaction(SIGSEGV, &act, NULL); in test_file()
H A Dbad_accesses.c70 struct sigaction sig; in test()
73 sig = (struct sigaction) { in test()
78 FAIL_IF(sigaction(SIGSEGV, &sig, NULL) != 0); in test()
/OK3568_Linux_fs/kernel/arch/x86/um/
H A Dbugs_32.c24 struct sigaction old, new; in arch_check_bugs()
32 sigaction(SIGILL, &new, &old); in arch_check_bugs()
41 sigaction(SIGILL, &old, &new); in arch_check_bugs()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/tm/
H A Dtm-trap.c255 struct sigaction trap_sa; in tm_trap_test()
261 sigaction(SIGTRAP, &trap_sa, NULL); in tm_trap_test()
263 struct sigaction usr1_sa; in tm_trap_test()
267 sigaction(SIGUSR1, &usr1_sa, NULL); in tm_trap_test()
H A Dtm-signal-context-force-tm.c110 struct sigaction usr_sa, seg_sa; in tm_trap_test()
153 sigaction(SIGUSR1, &usr_sa, NULL); in tm_trap_test()
155 sigaction(SIGSEGV, &seg_sa, NULL); in tm_trap_test()
H A Dtm-signal-sigreturn-nt.c32 struct sigaction trap_sa; in tm_signal_sigreturn_nt()
39 sigaction(SIGTRAP, &trap_sa, NULL); in tm_signal_sigreturn_nt()
H A Dtm-sigreturn.c54 struct sigaction sa; in tm_sigreturn()
64 if (sigaction(SIGSEGV, &sa, NULL)) in tm_sigreturn()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/signal/
H A Dsignal_tm.c44 struct sigaction act; in test_signal_tm()
49 if (sigaction(SIGUSR1, &act, NULL) < 0) { in test_signal_tm()
53 if (sigaction(SIGALRM, &act, NULL) < 0) { in test_signal_tm()
H A Dsignal.c39 struct sigaction act; in test_signal()
46 if (sigaction(SIGUSR1, &act, NULL) < 0) { in test_signal()
50 if (sigaction(SIGALRM, &act, NULL) < 0) { in test_signal()
H A Dsig_sc_double_restart.c99 struct sigaction act; in test_restart()
106 if (sigaction(SIGUSR1, &act, NULL) == -1) { in test_restart()
114 if (sigaction(SIGUSR2, &act, NULL) == -1) { in test_restart()
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/
H A Drestore_sigalarm.patch11 + struct sigaction nact, oact;
25 + (void) sigaction(SIGALRM, &nact, &oact);
34 + (void) sigaction(SIGALRM, &oact, NULL);
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/
H A Dharness.c95 static struct sigaction sig_action = {
111 if (sigaction(SIGINT, &sig_action, NULL)) { in test_harness()
117 if (sigaction(SIGALRM, &sig_action, NULL)) { in test_harness()
/OK3568_Linux_fs/external/rkwifibt/tools/rtk_hciattach/
H A Dhciattach.c369 struct sigaction sa; in main()
512 sigaction(SIGALRM, &sa, NULL); in main()
531 sigaction(SIGCHLD, &sa, NULL); in main()
532 sigaction(SIGPIPE, &sa, NULL); in main()
535 sigaction(SIGTERM, &sa, NULL); in main()
536 sigaction(SIGINT, &sa, NULL); in main()
539 sigaction(SIGHUP, &sa, NULL); in main()
/OK3568_Linux_fs/kernel/tools/perf/tests/
H A Dbp_signal.c166 struct sigaction sa; in test__bp_signal()
170 memset(&sa, 0, sizeof(struct sigaction)); in test__bp_signal()
174 if (sigaction(SIGIO, &sa, NULL) < 0) { in test__bp_signal()
180 if (sigaction(SIGUSR1, &sa, NULL) < 0) { in test__bp_signal()
H A Dbp_signal_overflow.c65 struct sigaction sa; in test__bp_signal_overflow()
70 memset(&sa, 0, sizeof(struct sigaction)); in test__bp_signal_overflow()
74 if (sigaction(SIGIO, &sa, NULL) < 0) { in test__bp_signal_overflow()
/OK3568_Linux_fs/kernel/arch/x86/um/os-Linux/
H A Dtask_size.c70 struct sigaction sa, old; in os_get_top_address()
93 if (sigaction(SIGSEGV, &sa, &old)) { in os_get_top_address()
133 if (sigaction(SIGSEGV, &old, NULL)) { in os_get_top_address()

123456789