Home | History | Annotate | Download | only in tests-mx32

Lines Matching refs:sig

15 handler(int sig)
22 int sig, pid = getpid(), uid = getuid();
27 for (sig = 1; sig <= 31; sig++) {
28 if (sig != SIGKILL && sig != SIGSTOP) {
29 sigaction(sig, &act, NULL);
30 sigaddset(&mask, sig);
35 for (sig = 1; sig <= 31; sig++) {
36 if (sig != SIGKILL && sig != SIGSTOP) {
37 if (kill(pid, sig) != 0)
38 perror_msg_and_fail("kill: %d", sig);
39 sig_print(signal2name(sig), pid, uid);