sig 278 bsp/drv/dev/base/tty.c int sig = -1; sig 344 bsp/drv/dev/base/tty.c sig = (c == cc[VINTR]) ? SIGINT : SIGQUIT; sig 354 bsp/drv/dev/base/tty.c sig = SIGTSTP; sig 388 bsp/drv/dev/base/tty.c if (sig != -1) { sig 390 bsp/drv/dev/base/tty.c tp->t_signo = sig; sig 62 include/sys/wait.h #define W_EXITCODE(ret, sig) ((ret) << 8 | (sig)) sig 63 include/sys/wait.h #define W_STOPCODE(sig) ((sig) << 8 | _WSTOPPED) sig 127 usr/bin/kill/kill.c signame_to_signum(sig) sig 128 usr/bin/kill/kill.c char *sig; sig 132 usr/bin/kill/kill.c if (!strncasecmp(sig, "sig", 3)) sig 133 usr/bin/kill/kill.c sig += 3; sig 135 usr/bin/kill/kill.c if (!strcasecmp(sys_signame[n], sig)) sig 41 usr/lib/posix/process/kill.c kill(pid_t pid, int sig) sig 51 usr/lib/posix/process/kill.c m.data[1] = sig; sig 35 usr/lib/posix/process/killpg.c killpg(pid_t pgid, int sig) sig 38 usr/lib/posix/process/killpg.c return kill(-pgid, sig); sig 50 usr/lib/posix/process/waitpid.c int sig, error; sig 74 usr/lib/posix/process/waitpid.c error = exception_wait(&sig); sig 59 usr/lib/posix/signal/__exception.c int sig; sig 65 usr/lib/posix/signal/__exception.c sig = 1; sig 69 usr/lib/posix/signal/__exception.c action = __sig_act[sig]; sig 74 usr/lib/posix/signal/__exception.c if (active & sigmask(sig)) { sig 83 usr/lib/posix/signal/__exception.c switch (sig) { sig 90 usr/lib/posix/signal/__exception.c __sig_pending &= ~sigmask(sig); sig 92 usr/lib/posix/signal/__exception.c __sig_exit = sig; sig 99 usr/lib/posix/signal/__exception.c si.si_signo = sig; sig 102 usr/lib/posix/signal/__exception.c action.sa_sigaction(sig, &si, NULL); sig 104 usr/lib/posix/signal/__exception.c action.sa_handler(sig); sig 108 usr/lib/posix/signal/__exception.c __sig_pending &= ~sigmask(sig); sig 112 usr/lib/posix/signal/__exception.c switch (sig) { sig 124 usr/lib/posix/signal/__exception.c if (++sig >= NSIG) sig 125 usr/lib/posix/signal/__exception.c sig = 1; sig 41 usr/lib/posix/signal/pause.c int sig, wait; sig 47 usr/lib/posix/signal/pause.c exception_wait(&sig); sig 50 usr/lib/posix/signal/pause.c if (!(__sig_mask & sigmask(sig)) && sig 51 usr/lib/posix/signal/pause.c !(__sig_pending & sigmask(sig))) sig 35 usr/lib/posix/signal/signal.c signal(int sig, sig_t handler) sig 40 usr/lib/posix/signal/signal.c if (sig <= 0 || sig >= NSIG || sig == SIGSTOP || sig == SIGKILL) { sig 49 usr/lib/posix/signal/signal.c act.sa_mask = sigmask(sig); sig 51 usr/lib/posix/signal/signal.c error = sigaction(sig, &act, &oact); sig 152 usr/server/exec/main.c exception_handler(int sig) sig 966 usr/server/fs/vfs/main.c exception_handler(int sig) sig 207 usr/server/pow/pow.c exception_handler(int sig) sig 210 usr/server/pow/pow.c if (sig == SIGPWR) { sig 219 usr/server/pow/pow.c int sig, event, state; sig 227 usr/server/pow/pow.c exception_wait(&sig); sig 228 usr/server/pow/pow.c DPRINTF(("power_thread: sig=%d\n", sig)); sig 230 usr/server/pow/pow.c if (sig == SIGPWR) { sig 267 usr/server/proc/main.c int sig; sig 270 usr/server/proc/main.c sig = msg->data[1]; sig 272 usr/server/proc/main.c return sys_kill(pid, sig); sig 143 usr/server/proc/proc.h int sys_kill(pid_t pid, int sig); sig 60 usr/server/proc/proc_sig.c sendsig(struct proc *p, int sig) sig 74 usr/server/proc/proc_sig.c if (p->p_pid == 1 && sig != SIGCHLD) sig 78 usr/server/proc/proc_sig.c return exception_raise(p->p_task, sig); sig 85 usr/server/proc/proc_sig.c kill_one(pid_t pid, int sig) sig 89 usr/server/proc/proc_sig.c DPRINTF(("proc: killone pid=%d sig=%d\n", pid, sig)); sig 93 usr/server/proc/proc_sig.c return sendsig(p, sig); sig 100 usr/server/proc/proc_sig.c kill_pg(pid_t pgid, int sig) sig 107 usr/server/proc/proc_sig.c DPRINTF(("proc: killpg pgid=%d sig=%d\n", pgid, sig)); sig 115 usr/server/proc/proc_sig.c if ((error = sendsig(p, sig)) != 0) sig 142 usr/server/proc/proc_sig.c sys_kill(pid_t pid, int sig) sig 148 usr/server/proc/proc_sig.c DPRINTF(("proc: kill pid=%d sig=%d\n", pid, sig)); sig 150 usr/server/proc/proc_sig.c switch (sig) { sig 162 usr/server/proc/proc_sig.c error = kill_one(pid, sig); sig 184 usr/server/proc/proc_sig.c error = kill_one(p->p_pid, sig); sig 191 usr/server/proc/proc_sig.c error = kill_pg(curproc->p_pgrp->pg_pgid, sig); sig 196 usr/server/proc/proc_sig.c error = kill_pg(-pid, sig); sig 52 usr/server/proc/proc_tty.c tty_signal(int sig) sig 63 usr/server/proc/proc_tty.c DPRINTF(("proc: tty_signal pgid=%d sig=%d\n", pgid, sig)); sig 64 usr/server/proc/proc_tty.c kill_pg(pgid, sig); sig 72 usr/server/proc/proc_tty.c exception_handler(int sig) sig 78 usr/server/proc/proc_tty.c switch (sig) { sig 88 usr/server/proc/proc_tty.c tty_signal(sig); sig 40 usr/test/signal/signal.c static void gotsig(int sig); sig 69 usr/test/signal/signal.c gotsig(int sig) sig 71 usr/test/signal/signal.c printf("Got signal: %d\n", sig);