Home
last modified time | relevance | path

Searched refs:SIG_DFL (Results 1 – 25 of 156) sorted by relevance

1234567

/openbsd/usr.bin/less/
H A Dsignal.c83 (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 Dmisc.c103 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 Dstatd.h118 #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 Dcheck_script.c117 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 Dfuse.c480 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 Dlib_tstp.c211 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 Dcommand.c67 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 Dhack.ioctl.c92 if(signal(SIGTSTP, SIG_IGN) == SIG_DFL) { in dosuspend()
94 (void) signal(SIGTSTP, SIG_DFL); in dosuspend()
/openbsd/games/sail/
H A Dpl_1.c62 (void) signal(SIGCHLD, SIG_DFL); in leave()
131 (void) signal(SIGCHLD, SIG_DFL); in child()
/openbsd/bin/ksh/
H A Dtrap.c278 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 Dfly.c64 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 Dsegv_handler_posix.cpp209 } 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 Dttymsg.c158 (void) signal(SIGALRM, SIG_DFL); in ttymsg()
159 (void) signal(SIGTERM, SIG_DFL); /* XXX */ in ttymsg()
/openbsd/usr.bin/passwd/
H A Dpwd_check.c121 (void)signal(SIGINT, SIG_DFL); in pwd_check()
122 (void)signal(SIGQUIT, SIG_DFL); in pwd_check()
/openbsd/sys/kern/
H A Dkern_sig.c368 * 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 Ddump.c84 signal(SIGTTOU, SIG_DFL); in onsusp()
86 signal(SIGTSTP, SIG_DFL); in onsusp()
/openbsd/usr.bin/ssh/
H A Dsshd-auth.c699 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 Dsignal.h27 #define SIG_DFL (void (*)(int))0 macro
/openbsd/usr.sbin/cron/
H A Dcrontab.c536 (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 Devent-top.c699 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 Dsem.c315 (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 Dabort.c58 sa.sa_handler = SIG_DFL; in abort()
/openbsd/usr.bin/mail/
H A Dtty.c90 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 Dmain.c316 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 Dlogin.c657 (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()

1234567