/busybox-1.35.0/libbb/ |
D | signals.c | 80 void FAST_FUNC sig_block(int sig) in sig_block() argument 84 sigaddset(&ss, sig); in sig_block() 88 void FAST_FUNC sig_unblock(int sig) in sig_unblock() argument 92 sigaddset(&ss, sig); in sig_unblock() 104 void FAST_FUNC kill_myself_with_sig(int sig) in kill_myself_with_sig() argument 106 signal(sig, SIG_DFL); in kill_myself_with_sig() 107 sig_unblock(sig); in kill_myself_with_sig() 108 raise(sig); in kill_myself_with_sig() 109 _exit(sig | 128); /* Should not reach it */ in kill_myself_with_sig() 112 void FAST_FUNC signal_SA_RESTART_empty_mask(int sig, void (*handler)(int)) in signal_SA_RESTART_empty_mask() argument [all …]
|
/busybox-1.35.0/networking/udhcp/ |
D | signalpipe.c | 26 static void signal_handler(int sig) in signal_handler() argument 29 unsigned char ch = sig; /* use char, avoid dealing with partial writes */ in signal_handler() 87 unsigned char sig; in udhcp_sp_read() local 90 if (safe_read(READ_FD, &sig, 1) != 1) in udhcp_sp_read() 93 return sig; in udhcp_sp_read()
|
/busybox-1.35.0/util-linux/volume_id/ |
D | unused_lsi_raid.c | 30 uint8_t sig[6]; member 51 if (memcmp(lsi->sig, LSI_SIGNATURE, sizeof(LSI_SIGNATURE)-1) != 0) in volume_id_probe_lsi_mega_raid()
|
D | unused_isw_raid.c | 30 uint8_t sig[32]; member 56 if (memcmp(isw->sig, ISW_SIGNATURE, sizeof(ISW_SIGNATURE)-1) != 0) in volume_id_probe_intel_software_raid()
|
D | unused_promise_raid.c | 30 uint8_t sig[24]; member 59 if (memcmp(pdc->sig, PDC_SIGNATURE, sizeof(PDC_SIGNATURE)-1) == 0) in volume_id_probe_promise_fasttrack_raid()
|
/busybox-1.35.0/init/ |
D | init.c | 810 static void halt_reboot_pwoff(int sig) NORETURN; 811 static void halt_reboot_pwoff(int sig) in halt_reboot_pwoff() argument 828 if (sig == SIGTERM) { in halt_reboot_pwoff() 831 } else if (sig == SIGUSR2) { in halt_reboot_pwoff() 888 static void stop_handler(int sig UNUSED_PARAM) in stop_handler() 978 int sig = sigtimedwait(&G.delayed_sigset, /* siginfo_t */ NULL, ts); in check_delayed_sigs() local 979 if (sig <= 0) in check_delayed_sigs() 985 if (sig == SIGHUP) in check_delayed_sigs() 988 if (sig == SIGINT) in check_delayed_sigs() 990 if (sig == SIGQUIT) { in check_delayed_sigs() [all …]
|
/busybox-1.35.0/runit/ |
D | runsvdir.c | 312 unsigned sig; in runsvdir_main() local 392 sig = bb_got_signal; in runsvdir_main() 393 if (!sig) in runsvdir_main() 404 opt_s_argv[1] = utoa(sig); in runsvdir_main() 414 if (sig == SIGHUP) { in runsvdir_main() 422 return (SIGHUP == sig) ? 111 : EXIT_SUCCESS; in runsvdir_main()
|
D | runsv.c | 410 int sig; in ctrl() local 459 sig = SIGALRM; in ctrl() 462 sig = SIGHUP; in ctrl() 465 sig = SIGINT; in ctrl() 468 sig = SIGQUIT; in ctrl() 471 sig = SIGUSR1; in ctrl() 474 sig = SIGUSR2; in ctrl() 480 kill(s->pid, sig); in ctrl()
|
/busybox-1.35.0/procps/ |
D | fuser.c | 281 int sig; in fuser_main() local 290 sig = get_signum(&arg[1]); in fuser_main() 291 if (sig < 0) in fuser_main() 294 G.killsig = sig; in fuser_main()
|
/busybox-1.35.0/sysklogd/ |
D | logread.c | 103 static void interrupted(int sig) in interrupted() argument 106 kill_myself_with_sig(sig); in interrupted()
|
/busybox-1.35.0/shell/ |
D | hush.c | 1944 static void record_pending_signo(int sig) in record_pending_signo() argument 1946 sigaddset(&G.pending_set, sig); in record_pending_signo() 1948 if (sig == SIGCHLD) { in record_pending_signo() 1955 static sighandler_t install_sighandler(int sig, sighandler_t handler) in install_sighandler() argument 1969 sigaction(sig, &G.sa, &old_sa); in install_sighandler() 2017 static void sigexit(int sig) NORETURN; 2018 static void sigexit(int sig) in sigexit() argument 2031 if (sig <= 0) in sigexit() 2032 _exit(- sig); in sigexit() 2034 kill_myself_with_sig(sig); /* does not return */ in sigexit() [all …]
|
/busybox-1.35.0/util-linux/ |
D | rdate.c | 34 static void socket_timeout(int sig UNUSED_PARAM) in socket_timeout()
|
D | more.c | 62 static void gotsig(int sig UNUSED_PARAM) in gotsig()
|
/busybox-1.35.0/console-tools/ |
D | resize.c | 45 onintr(int sig UNUSED_PARAM) in onintr()
|
/busybox-1.35.0/miscutils/ |
D | watchdog.c | 75 static void shutdown_on_signal(int sig UNUSED_PARAM) in shutdown_on_signal()
|
D | hexedit.c | 63 static void sig_catcher(int sig) in sig_catcher() argument 67 bb_got_signal = sig; in sig_catcher() 71 kill_myself_with_sig(sig); in sig_catcher()
|
D | less.c | 1794 static void sig_catcher(int sig) in sig_catcher() argument 1796 less_exit(- sig); in sig_catcher() 1800 static void sigwinch_handler(int sig UNUSED_PARAM) in sigwinch_handler()
|
/busybox-1.35.0/networking/ |
D | tcpudp.c | 174 static void sig_term_handler(int sig) in sig_term_handler() argument 177 bb_error_msg("got signal %u, exit", sig); in sig_term_handler() 178 kill_myself_with_sig(sig); in sig_term_handler() 233 static void sig_child_handler(int sig UNUSED_PARAM) in sig_child_handler()
|
D | nc_bloaty.c | 208 static void catch(int sig) in catch() argument 213 kill_myself_with_sig(sig); in catch() 224 static void tmtravel(int sig UNUSED_PARAM) in tmtravel()
|
D | inetd.c | 967 static void reread_config_file(int sig UNUSED_PARAM) in reread_config_file() 1140 static void reap_child(int sig UNUSED_PARAM) in reap_child() 1169 static void retry_network_setup(int sig UNUSED_PARAM) in retry_network_setup() 1187 static void clean_up_and_exit(int sig UNUSED_PARAM) in clean_up_and_exit()
|
/busybox-1.35.0/e2fsprogs/ |
D | fsck.c | 453 unsigned sig; in wait_one() local 454 sig = WTERMSIG(status); in wait_one() 456 if (sig != SIGINT) { in wait_one() 459 inst->prog, inst->device, sig); in wait_one()
|
/busybox-1.35.0/include/ |
D | platform.h | 620 # define strsignal(sig) get_signame(sig) argument
|
D | libbb.h | 626 void signal_no_SA_RESTART_empty_mask(int sig, void (*handler)(int)) FAST_FUNC; 628 void signal_SA_RESTART_empty_mask(int sig, void (*handler)(int)) FAST_FUNC; 630 void kill_myself_with_sig(int sig) NORETURN FAST_FUNC; 631 void sig_block(int sig) FAST_FUNC; 632 void sig_unblock(int sig) FAST_FUNC; 634 int sigaction_set(int sig, const struct sigaction *act) FAST_FUNC;
|
/busybox-1.35.0/loginutils/ |
D | getty.c | 538 static void alarm_handler(int sig UNUSED_PARAM) in alarm_handler()
|
D | login.c | 298 static void alarm_handler(int sig UNUSED_PARAM) in alarm_handler()
|