/openbsd/usr.bin/less/ |
H A D | signal.c | 83 (void) lsignal(SIGINT, SIG_DFL); in init_signals() 84 (void) lsignal(SIGTSTP, SIG_DFL); in init_signals() 86 (void) lsignal(SIGQUIT, SIG_DFL); in init_signals() 106 lsignal(SIGTTOU, SIG_DFL); in psignals() 107 lsignal(SIGTSTP, SIG_DFL); in psignals()
|
/openbsd/usr.bin/bgplg/ |
H A D | misc.c | 103 save_chld = signal(SIGCHLD, SIG_DFL); in lg_exec() 110 signal(SIGQUIT, SIG_DFL); in lg_exec() 111 signal(SIGINT, SIG_DFL); in lg_exec() 112 signal(SIGCHLD, SIG_DFL); in lg_exec() 148 signal(SIGALRM, SIG_DFL); in lg_exec()
|
/openbsd/usr.sbin/rpc.statd/ |
H A D | statd.h | 118 #define NO_ALARM sa.sa_handler == SIG_DFL ? 0 : \ 120 #define ALARM sa.sa_handler == SIG_DFL ? 0 : \ 122 #define CLR_ALARM sa.sa_handler == SIG_DFL ? 0 : \ 123 (sa.sa_handler = SIG_DFL, sigaction(SIGALRM, &sa, NULL))
|
/openbsd/usr.sbin/relayd/ |
H A D | check_script.c | 117 save_chld = signal(SIGCHLD, SIG_DFL); in script_exec() 124 signal(SIGQUIT, SIG_DFL); in script_exec() 125 signal(SIGINT, SIG_DFL); in script_exec() 126 signal(SIGCHLD, SIG_DFL); in script_exec() 178 signal(SIGALRM, SIG_DFL); in script_exec()
|
/openbsd/lib/libfuse/ |
H A D | fuse.c | 480 signal(SIGHUP, SIG_DFL); in fuse_remove_signal_handlers() 484 signal(SIGINT, SIG_DFL); in fuse_remove_signal_handlers() 488 signal(SIGTERM, SIG_DFL); in fuse_remove_signal_handlers() 492 signal(SIGPIPE, SIG_DFL); in fuse_remove_signal_handlers() 496 signal(SIGCHLD, SIG_DFL); in fuse_remove_signal_handlers() 507 if (old_sa.sa_handler == SIG_DFL) in fuse_set_signal_handlers() 512 if (old_sa.sa_handler == SIG_DFL) in fuse_set_signal_handlers() 517 if (old_sa.sa_handler == SIG_DFL) in fuse_set_signal_handlers() 522 if (old_sa.sa_handler == SIG_DFL) in fuse_set_signal_handlers() 527 if (old_sa.sa_handler == SIG_DFL) in fuse_set_signal_handlers()
|
/openbsd/lib/libcurses/tty/ |
H A D | lib_tstp.c | 211 act.sa_handler = SIG_DFL; in handle_SIGTSTP() 344 && (old_act.sa_handler == SIG_DFL in CatchIfDefault() 359 if (ohandler == SIG_DFL in CatchIfDefault() 402 } else if (new_sigaction.sa_handler != SIG_DFL) { in _nc_signal_handler() 405 && (old_sigaction.sa_handler == SIG_DFL)) { in _nc_signal_handler()
|
/openbsd/usr.bin/cu/ |
H A D | command.c | 67 if (signal(SIGINT, SIG_DFL) == SIG_ERR) in pipe_command() 69 if (signal(SIGQUIT, SIG_DFL) == SIG_ERR) in pipe_command() 115 if (signal(SIGINT, SIG_DFL) == SIG_ERR) in connect_command() 117 if (signal(SIGQUIT, SIG_DFL) == SIG_ERR) in connect_command()
|
/openbsd/games/hack/ |
H A D | hack.ioctl.c | 92 if(signal(SIGTSTP, SIG_IGN) == SIG_DFL) { in dosuspend() 94 (void) signal(SIGTSTP, SIG_DFL); in dosuspend()
|
/openbsd/games/sail/ |
H A D | pl_1.c | 62 (void) signal(SIGCHLD, SIG_DFL); in leave() 131 (void) signal(SIGCHLD, SIG_DFL); in child()
|
/openbsd/bin/ksh/ |
H A D | trap.c | 278 setsig(p, (p->flags & TF_EXEC_IGN) ? SIG_IGN : SIG_DFL, in restoresigs() 290 f = !s ? SIG_DFL : s[0] ? trapsig : SIG_IGN; in settrap() 293 if ((p->flags & (TF_DFL_INTR|TF_FATAL)) && f == SIG_DFL) in settrap() 328 } else if (p->cursig == SIG_DFL) { in block_pipe() 340 setsig(&sigtraps[SIGPIPE], SIG_DFL, SS_RESTORE_CURR); in restore_pipe()
|
/openbsd/games/battlestar/ |
H A D | fly.c | 64 if (oldsig == SIG_DFL) { in succumb() 289 signal(SIGALRM, SIG_DFL); in endfly() 293 signal(SIGTSTP, SIG_DFL); in endfly()
|
/openbsd/gnu/llvm/compiler-rt/lib/gwp_asan/optional/ |
H A D | segv_handler_posix.cpp | 209 } else if (PreviousHandler.sa_handler == SIG_DFL) { in sigSegvHandler() 211 signal(SIGSEGV, SIG_DFL); in sigSegvHandler() 218 signal(SIGSEGV, SIG_DFL); in sigSegvHandler()
|
/openbsd/usr.bin/wall/ |
H A D | ttymsg.c | 158 (void) signal(SIGALRM, SIG_DFL); in ttymsg() 159 (void) signal(SIGTERM, SIG_DFL); /* XXX */ in ttymsg()
|
/openbsd/usr.bin/passwd/ |
H A D | pwd_check.c | 121 (void)signal(SIGINT, SIG_DFL); in pwd_check() 122 (void)signal(SIGQUIT, SIG_DFL); in pwd_check()
|
/openbsd/sys/kern/ |
H A D | kern_sig.c | 368 * and for signals set to SIG_DFL where the default is to ignore. in setsigvec() 373 (sigprop[signum] & SA_IGNORE && sa->sa_handler == SIG_DFL)) { in setsigvec() 381 if (sa->sa_handler == SIG_DFL) in setsigvec() 431 ps->ps_sigact[nc] = SIG_DFL; in execsigs() 440 ps->ps_sigact[SIGCHLD] = SIG_DFL; in execsigs() 774 ps->ps_sigact[signum] = SIG_DFL; in postsig_done() 928 sig_t action, altaction = SIG_DFL; in ptsignal() 1013 action = SIG_DFL; in ptsignal_locked() 1022 * action will be SIG_DFL here.) in ptsignal_locked() 1036 action = SIG_DFL; in ptsignal_locked() [all...] |
/openbsd/gnu/usr.sbin/mkhybrid/src/diag/ |
H A D | dump.c | 84 signal(SIGTTOU, SIG_DFL); in onsusp() 86 signal(SIGTSTP, SIG_DFL); in onsusp()
|
/openbsd/usr.bin/ssh/ |
H A D | sshd-auth.c | 699 ssh_signal(SIGALRM, SIG_DFL); in main() 700 ssh_signal(SIGHUP, SIG_DFL); in main() 701 ssh_signal(SIGTERM, SIG_DFL); in main() 702 ssh_signal(SIGQUIT, SIG_DFL); in main() 703 ssh_signal(SIGCHLD, SIG_DFL); in main()
|
/openbsd/gnu/gcc/fixincludes/tests/base/sys/ |
H A D | signal.h | 27 #define SIG_DFL (void (*)(int))0 macro
|
/openbsd/usr.sbin/cron/ |
H A D | crontab.c | 536 (void) signal(SIGHUP, SIG_DFL); in replace_cmd() 537 (void) signal(SIGINT, SIG_DFL); in replace_cmd() 538 (void) signal(SIGQUIT, SIG_DFL); in replace_cmd() 572 sigchld = signal(SIGCHLD, SIG_DFL); in editit()
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | event-top.c | 699 signal (STOP_SIGNAL, SIG_DFL); in command_line_handler() 899 signal (SIGTRAP, SIG_DFL); in async_init_signals() 1006 signal (SIGHUP, SIG_DFL); /*FIXME: ??????????? */ in async_disconnect() 1024 signal (SIGTSTP, SIG_DFL); in async_stop_sig()
|
/openbsd/bin/csh/ |
H A D | sem.c | 315 (void) signal(SIGQUIT, SIG_DFL); in execute() 319 (void) signal(SIGTSTP, SIG_DFL); in execute() 320 (void) signal(SIGTTIN, SIG_DFL); in execute() 321 (void) signal(SIGTTOU, SIG_DFL); in execute()
|
/openbsd/lib/libc/stdlib/ |
H A D | abort.c | 58 sa.sa_handler = SIG_DFL; in abort()
|
/openbsd/usr.bin/mail/ |
H A D | tty.c | 90 act.sa_handler = SIG_DFL; in grabh() 231 act.sa_handler = SIG_DFL; in readtty() 272 act.sa_handler = SIG_DFL; in ttystop()
|
/openbsd/libexec/getty/ |
H A D | main.c | 316 signal(SIGALRM, SIG_DFL); in main() 342 signal(SIGINT, SIG_DFL); in main() 355 signal(SIGALRM, SIG_DFL); in main()
|
/openbsd/usr.bin/login/ |
H A D | login.c | 657 (void)signal(SIGHUP, SIG_DFL); in main() 695 (void)signal(SIGALRM, SIG_DFL); in main() 696 (void)signal(SIGQUIT, SIG_DFL); in main() 697 (void)signal(SIGHUP, SIG_DFL); in main() 698 (void)signal(SIGINT, SIG_DFL); in main()
|