Searched refs:sigaction (Results 101 - 125 of 158) sorted by relevance

1234567

/linux-master/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c440 struct sigaction sa;
445 if (sigaction(SIGSEGV, &sa, NULL) == -1) {
446 perror("sigaction");
621 struct sigaction sa_alrm;
701 if (sigaction(SIGALRM, &sa_alrm, 0) == -1) {
H A Dpkey_siginfo.c243 struct sigaction act;
275 FAIL_IF(sigaction(SIGSEGV, &act, NULL) != 0);
/linux-master/tools/testing/selftests/x86/
H A Dsigreturn.c144 struct sigaction sa;
149 if (sigaction(sig, &sa, 0))
150 err(1, "sigaction");
155 struct sigaction sa;
159 if (sigaction(sig, &sa, 0))
160 err(1, "sigaction");
H A Dmov_ss_trap.c100 struct sigaction sa;
105 if (sigaction(sig, &sa, 0))
106 err(1, "sigaction");
H A Damx.c77 struct sigaction sa;
83 if (sigaction(sig, &sa, 0))
84 fatal_error("sigaction");
89 struct sigaction sa;
94 if (sigaction(sig, &sa, 0))
95 fatal_error("sigaction");
/linux-master/tools/testing/selftests/arm64/fp/
H A Dfp-stress.c446 struct sigaction sa;
525 ret = sigaction(SIGINT, &sa, NULL);
529 ret = sigaction(SIGTERM, &sa, NULL);
534 ret = sigaction(SIGCHLD, &sa, NULL);
/linux-master/arch/um/os-Linux/
H A Dsigio.c449 struct sigaction old, new;
484 if (sigaction(SIGIO, NULL, &old) < 0) {
485 printk(UM_KERN_ERR "check_one_sigio : sigaction 1 failed, "
492 if (sigaction(SIGIO, &new, NULL) < 0) {
493 printk(UM_KERN_ERR "check_one_sigio : sigaction 2 failed, "
504 if (sigaction(SIGIO, &old, NULL) < 0)
505 printk(UM_KERN_ERR "check_one_sigio : sigaction 3 failed, "
H A Dsignal.c222 struct sigaction action;
242 if (sigaction(sig, &action, NULL) < 0)
243 panic("sigaction failed - errno = %d\n", errno);
/linux-master/tools/perf/bench/
H A Dfutex-requeue.c170 struct sigaction act;
184 sigaction(SIGINT, &act, NULL);
H A Dfutex-hash.c127 struct sigaction act;
148 sigaction(SIGINT, &act, NULL);
H A Dfutex-lock-pi.c168 struct sigaction act;
182 sigaction(SIGINT, &act, NULL);
H A Dfutex-wake.c143 struct sigaction act;
159 sigaction(SIGINT, &act, NULL);
/linux-master/tools/testing/selftests/net/tcp_ao/lib/
H A Dsetup.c224 struct sigaction sa = {
231 if (sigaction(SIGINT, &sa, NULL))
/linux-master/tools/testing/selftests/riscv/hwprobe/
H A Dcbo.c177 struct sigaction act = {
188 rc = sigaction(SIGILL, &act, NULL);
/linux-master/tools/testing/selftests/timers/
H A Dset-timer-lat.c254 struct sigaction act;
262 sigaction(signum, &act, NULL);
H A Dleap-a-day.c180 struct sigaction act;
228 sigaction(signum, &act, NULL);
/linux-master/tools/testing/selftests/proc/
H A Dproc-pid-vm.c252 struct sigaction act;
253 memset(&act, 0, sizeof(struct sigaction));
256 (void)sigaction(SIGSEGV, &act, NULL);
/linux-master/tools/testing/selftests/arm64/abi/
H A Dhwcap.c900 struct sigaction sa;
906 ret = sigaction(signum, &sa, NULL);
916 if (sigaction(signum, NULL, NULL) < 0)
/linux-master/tools/perf/scripts/perl/
H A Drwtop.pl97 POSIX::sigaction(SIGALRM, $sa) or die "Can't set SIGALRM handler: $!\n";
/linux-master/tools/testing/selftests/powerpc/alignment/
H A Dalignment_handler.c619 struct sigaction sa;
646 if (sigaction(SIGSEGV, &sa, NULL) == -1
647 || sigaction(SIGBUS, &sa, NULL) == -1
648 || sigaction(SIGILL, &sa, NULL) == -1) {
649 perror("sigaction");
/linux-master/tools/testing/selftests/powerpc/dexcr/
H A Dhashchk_test.c55 struct sigaction old;
/linux-master/tools/testing/selftests/arm64/mte/
H A Dmte_common_util.c84 struct sigaction sa;
89 sigaction(signal, &sa, NULL);
/linux-master/tools/testing/selftests/powerpc/nx-gzip/
H A Dgzfht_test.c375 struct sigaction act;
385 sigaction(SIGSEGV, &act, NULL);
/linux-master/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c28 struct sigaction sa;
34 return sigaction(signal, &sa, NULL);
/linux-master/tools/testing/selftests/uevent/
H A Duevent_filtering.c353 struct sigaction act;
374 ret = sigaction(SIGTERM, &act, NULL);

Completed in 264 milliseconds

1234567