Home
last modified time | relevance | path

Searched refs:sig_handler (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/arch/um/os-Linux/
Dsignal.c69 void sig_handler(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler() function
150 [SIGSEGV] = sig_handler,
151 [SIGBUS] = sig_handler,
152 [SIGILL] = sig_handler,
153 [SIGFPE] = sig_handler,
154 [SIGTRAP] = sig_handler,
156 [SIGIO] = sig_handler,
157 [SIGWINCH] = sig_handler,
/kernel/linux/linux-5.10/tools/testing/selftests/timers/
Dposix_timers.c53 static void sig_handler(int nr) in sig_handler() function
99 signal(SIGVTALRM, sig_handler); in check_itimer()
101 signal(SIGPROF, sig_handler); in check_itimer()
103 signal(SIGALRM, sig_handler); in check_itimer()
161 signal(SIGALRM, sig_handler); in check_timer_create()
/kernel/linux/linux-5.10/samples/bpf/
Dxdp_sample_pkts_user.c94 static void sig_handler(int signo) in sig_handler() function
182 if (signal(SIGINT, sig_handler) || in main()
183 signal(SIGHUP, sig_handler) || in main()
184 signal(SIGTERM, sig_handler)) { in main()
/kernel/linux/linux-5.10/tools/perf/tests/
Dbp_signal.c81 static void sig_handler(int signum __maybe_unused, in sig_handler() function
171 sa.sa_sigaction = (void *) sig_handler; in test__bp_signal()
237 fd2 = bp_event(sig_handler, SIGUSR1); in test__bp_signal()
Dbp_signal_overflow.c38 static void sig_handler(int signum __maybe_unused, in sig_handler() function
71 sa.sa_sigaction = (void *) sig_handler; in test__bp_signal_overflow()
Dtask-exit.c20 static void sig_handler(int sig __maybe_unused) in sig_handler() function
59 signal(SIGCHLD, sig_handler); in test__task_exit()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/
Dharness.c90 static void sig_handler(int signum) in sig_handler() function
96 .sa_handler = sig_handler,
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dwrite_to_hugetlbfs.c46 void sig_handler(int signo) in sig_handler() function
77 if (signal(SIGINT, sig_handler) == SIG_ERR) in main()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dfin_ack_lat.c104 static void sig_handler(int signum) in sig_handler() function
118 if (signal(SIGTERM, sig_handler) == SIG_ERR) in main()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-ftrace.c64 static void sig_handler(int sig __maybe_unused) in sig_handler() function
589 signal(SIGINT, sig_handler); in __cmd_ftrace()
590 signal(SIGUSR1, sig_handler); in __cmd_ftrace()
591 signal(SIGCHLD, sig_handler); in __cmd_ftrace()
592 signal(SIGPIPE, sig_handler); in __cmd_ftrace()
Dbuiltin-kvm.c845 static void sig_handler(int sig __maybe_unused) in sig_handler() function
962 signal(SIGINT, sig_handler); in kvm_events_live_report()
963 signal(SIGTERM, sig_handler); in kvm_events_live_report()
Dbuiltin-inject.c661 static void sig_handler(int sig __maybe_unused) in sig_handler() function
708 signal(SIGINT, sig_handler); in __cmd_inject()
Dbuiltin-record.c551 static void sig_handler(int sig) in sig_handler() function
1622 signal(SIGCHLD, sig_handler); in __cmd_record()
1623 signal(SIGINT, sig_handler); in __cmd_record()
1624 signal(SIGTERM, sig_handler); in __cmd_record()
Dbuiltin-report.c440 static void sig_handler(int sig __maybe_unused) in sig_handler() function
897 signal(SIGINT, sig_handler); in __cmd_report()
Dbuiltin-trace.c1532 static void sig_handler(int sig) in sig_handler() function
3974 signal(SIGCHLD, sig_handler);
3975 signal(SIGINT, sig_handler);
Dbuiltin-script.c2411 static void sig_handler(int sig __maybe_unused) in sig_handler() function
2494 signal(SIGINT, sig_handler); in __cmd_script()
/kernel/linux/linux-5.10/tools/iio/
Diio_generic_buffer.c297 void sig_handler(int signum) in sig_handler() function
306 struct sigaction sa = { .sa_handler = sig_handler }; in register_cleanup()
/kernel/linux/linux-5.10/scripts/kconfig/
Dmconf.c999 static void sig_handler(int signo) in sig_handler() function
1009 signal(SIGINT, sig_handler); in main()
/kernel/linux/linux-5.10/kernel/
Dsignal.c67 static void __user *sig_handler(struct task_struct *t, int sig) in sig_handler() function
83 handler = sig_handler(t, sig); in sig_task_ignored()
3998 if (sig_handler_ignored(sig_handler(p, sig), sig)) { in do_sigaction()