Searched refs:setsig (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/ipc/ipc_stress/ |
D | signal_test_02.c | 103 sigset_t setsig, /* Initial signal mask */ in main() local 117 sigemptyset(&setsig); in main() 118 if (sigprocmask(SIG_SETMASK, &setsig, NULL) < 0) in main() 163 sigemptyset(&setsig); in main() 165 if (sigaddset(&setsig, SIGIOT) < 0) in main() 167 if (sigaddset(&setsig, SIGILL) < 0) in main() 169 if (sigaddset(&setsig, SIGALRM) < 0) in main() 172 if (sigprocmask(SIG_SETMASK, &setsig, NULL) < 0) in main() 213 if (sigprocmask(SIG_BLOCK, &newsetsig, &setsig) < 0) in main() 247 if (sigfillset(&setsig) < 0) in main() [all …]
|
/external/mksh/src/ |
D | histrap.c | 1075 setsig(&sigtraps[SIGINT], trapsig, SS_RESTORE_ORIG); in inittraps() 1076 setsig(&sigtraps[SIGQUIT], trapsig, SS_RESTORE_ORIG); in inittraps() 1077 setsig(&sigtraps[SIGTERM], trapsig, SS_RESTORE_ORIG); in inittraps() 1078 setsig(&sigtraps[SIGHUP], trapsig, SS_RESTORE_ORIG); in inittraps() 1087 setsig(&sigtraps[SIGALRM], alarm_catcher, in alarm_init() 1360 setsig(p, (p->flags & TF_EXEC_IGN) ? SIG_IGN : SIG_DFL, in restoresigs() 1398 setsig(p, f, SS_RESTORE_CURR|SS_USER); in settrap() 1412 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe() 1416 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe() 1427 setsig(&sigtraps[SIGPIPE], SIG_DFL, SS_RESTORE_CURR); in restore_pipe() [all …]
|
D | jobs.c | 172 setsig(&sigtraps[SIGCHLD], j_sigchld, in j_init() 176 setsig(&sigtraps[SIGCHLD], SIG_DFL, SS_RESTORE_ORIG|SS_FORCE); in j_init() 199 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_init() 345 setsig(&sigtraps[SIGTTIN], SIG_DFL, in j_change() 364 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_change() 391 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_change() 397 setsig(&sigtraps[tt_sigs[i]], in j_change() 562 setsig(&sigtraps[tt_sigs[forksleep]], SIG_DFL, in exchild() 575 setsig(&sigtraps[SIGINT], SIG_IGN, in exchild() 577 setsig(&sigtraps[SIGQUIT], SIG_IGN, in exchild()
|
D | main.c | 537 setsig(&sigtraps[SIGWINCH], x_sigwinch, in main_init() 1001 setsig(&sigtraps[sig], SIG_DFL, in quitenv()
|
D | sh.h | 2134 int setsig(Trap *, sig_t, int);
|