Home
last modified time | relevance | path

Searched refs:setsig (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_signal.py1055 def setsig(self, signum, handler): member in StressTest
1072 self.setsig(signal.SIGALRM, handler)
1120 self.setsig(signal.SIGPROF, first_handler)
1121 self.setsig(signal.SIGUSR1, first_handler)
1122 self.setsig(signal.SIGALRM, second_handler) # for ITIMER_REAL
1155 self.setsig(signal.SIGUSR1, handler)
1156 self.setsig(signal.SIGALRM, handler) # for ITIMER_REAL
/external/mksh/src/
Dhistrap.c1134 setsig(&sigtraps[SIGINT], trapsig, SS_RESTORE_ORIG); in inittraps()
1135 setsig(&sigtraps[SIGQUIT], trapsig, SS_RESTORE_ORIG); in inittraps()
1136 setsig(&sigtraps[SIGTERM], trapsig, SS_RESTORE_ORIG); in inittraps()
1137 setsig(&sigtraps[SIGHUP], trapsig, SS_RESTORE_ORIG); in inittraps()
1146 setsig(&sigtraps[SIGALRM], alarm_catcher, in alarm_init()
1419 setsig(p, (p->flags & TF_EXEC_IGN) ? SIG_IGN : SIG_DFL, in restoresigs()
1457 setsig(p, f, SS_RESTORE_CURR|SS_USER); in settrap()
1471 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe()
1475 setsig(p, SIG_IGN, SS_RESTORE_CURR); in block_pipe()
1486 setsig(&sigtraps[SIGPIPE], SIG_DFL, SS_RESTORE_CURR); in restore_pipe()
[all …]
Djobs.c179 setsig(&sigtraps[SIGCHLD], j_sigchld, in j_init()
183 setsig(&sigtraps[SIGCHLD], SIG_DFL, SS_RESTORE_ORIG|SS_FORCE); in j_init()
206 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_init()
352 setsig(&sigtraps[SIGTTIN], SIG_DFL, in j_change()
371 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_change()
398 setsig(&sigtraps[tt_sigs[i]], SIG_IGN, in j_change()
404 setsig(&sigtraps[tt_sigs[i]], in j_change()
569 setsig(&sigtraps[tt_sigs[forksleep]], SIG_DFL, in exchild()
582 setsig(&sigtraps[SIGINT], SIG_IGN, in exchild()
584 setsig(&sigtraps[SIGQUIT], SIG_IGN, in exchild()
Dmain.c577 setsig(&sigtraps[SIGWINCH], x_sigwinch, in main_init()
1052 setsig(&sigtraps[sig], SIG_DFL, in quitenv()
Dsh.h2458 int setsig(Trap *, sig_t, int);
/external/syzkaller/sys/linux/
Dsys.txt232 fcntl$setsig(fd fd, cmd const[F_SETSIG], sig signalno)
252 ptrace$setsig(req const[PTRACE_SETSIGINFO], pid pid, ignored intptr, data ptr[in, siginfo])