tag | line | file | source code |
sig | 233 | arch/alpha/kernel/signal.c | sa = current->sig->action + signr; |
sig | 250 | arch/alpha/kernel/signal.c | sa = current->sig->action + signr - 1; |
sig | 272 | arch/alpha/kernel/signal.c | if (!(current->p_pptr->sig->action[SIGCHLD-1].sa_flags & |
sig | 320 | arch/alpha/kernel/signal.c | sa = current->sig->action; |
sig | 290 | arch/i386/kernel/signal.c | sa = current->sig->action + signr; |
sig | 306 | arch/i386/kernel/signal.c | sa = current->sig->action + signr - 1; |
sig | 328 | arch/i386/kernel/signal.c | if (!(current->p_pptr->sig->action[SIGCHLD-1].sa_flags & |
sig | 406 | arch/m68k/kernel/signal.c | sa = current->sig->action + signr; |
sig | 436 | arch/m68k/kernel/signal.c | sa = current->sig->action + signr - 1; |
sig | 458 | arch/m68k/kernel/signal.c | if (!(current->p_pptr->sig->action[SIGCHLD-1].sa_flags & |
sig | 516 | arch/m68k/kernel/signal.c | sa = current->sig->action; |
sig | 796 | arch/m68k/kernel/traps.c | int sig; |
sig | 815 | arch/m68k/kernel/traps.c | sig = SIGBUS; |
sig | 818 | arch/m68k/kernel/traps.c | sig = SIGSEGV; |
sig | 839 | arch/m68k/kernel/traps.c | sig = SIGILL; |
sig | 862 | arch/m68k/kernel/traps.c | sig = SIGFPE; |
sig | 867 | arch/m68k/kernel/traps.c | sig = SIGTRAP; |
sig | 870 | arch/m68k/kernel/traps.c | sig = SIGILL; |
sig | 874 | arch/m68k/kernel/traps.c | send_sig (sig, current, 1); |
sig | 252 | arch/mips/kernel/signal.c | sa = current->sig->action + signr; |
sig | 268 | arch/mips/kernel/signal.c | sa = current->sig->action + signr - 1; |
sig | 290 | arch/mips/kernel/signal.c | if (!(current->p_pptr->sig->action[SIGCHLD-1].sa_flags & |
sig | 339 | arch/mips/kernel/signal.c | sa = current->sig->action; |
sig | 149 | arch/mips/kernel/syscall.c | current->sig->action[SIGILL-1].sa_handler = NULL; |
sig | 116 | arch/ppc/kernel/signal.c | sa = current->sig->action + signr; |
sig | 132 | arch/ppc/kernel/signal.c | sa = current->sig->action + signr - 1; |
sig | 154 | arch/ppc/kernel/signal.c | if (!(current->p_pptr->sig->action[SIGCHLD-1].sa_flags & |
sig | 200 | arch/ppc/kernel/signal.c | sa = current->sig->action; |
sig | 165 | arch/sparc/kernel/signal.c | current->sig->action[SIGILL-1].sa_handler = SIG_DFL; |
sig | 233 | arch/sparc/kernel/signal.c | sa = current->sig->action + signr; |
sig | 249 | arch/sparc/kernel/signal.c | sa = current->sig->action + signr - 1; |
sig | 267 | arch/sparc/kernel/signal.c | if(!(current->p_pptr->sig->action[SIGCHLD-1].sa_flags & |
sig | 310 | arch/sparc/kernel/signal.c | sa = current->sig->action; |
sig | 824 | arch/sparc/kernel/sys_sunos.c | asmlinkage int sunos_killpg(int pgrp, int sig) |
sig | 826 | arch/sparc/kernel/sys_sunos.c | return kill_pg(pgrp, sig, 0); |
sig | 284 | drivers/block/genhd.c | unsigned int sig = *(unsigned short *)(data + 2); |
sig | 314 | drivers/block/genhd.c | } else if (sig <= 0x1ae && *(unsigned short *)(data + sig) == 0x55AA |
sig | 315 | drivers/block/genhd.c | && (1 & *(unsigned char *)(data + sig + 2)) ) |
sig | 224 | drivers/cdrom/cm206.c | static void cm206_interrupt(int sig, void *dev_id, struct pt_regs * regs) /* you rang? */ |
sig | 3324 | drivers/char/istallion.c | cdkecpsig_t sig; |
sig | 3409 | drivers/char/istallion.c | memcpy(&sig, sigsp, sizeof(cdkecpsig_t)); |
sig | 3414 | drivers/char/istallion.c | __FILE__, __LINE__, (int) sig.magic, sig.romver, sig.panelid[0], |
sig | 3415 | drivers/char/istallion.c | (int) sig.panelid[1], (int) sig.panelid[2], (int) sig.panelid[3], |
sig | 3416 | drivers/char/istallion.c | (int) sig.panelid[4], (int) sig.panelid[5], (int) sig.panelid[6], |
sig | 3417 | drivers/char/istallion.c | (int) sig.panelid[7]); |
sig | 3420 | drivers/char/istallion.c | if (sig.magic != ECP_MAGIC) |
sig | 3428 | drivers/char/istallion.c | status = sig.panelid[nxtid]; |
sig | 3458 | drivers/char/istallion.c | cdkonbsig_t sig; |
sig | 3565 | drivers/char/istallion.c | memcpy(&sig, sigsp, sizeof(cdkonbsig_t)); |
sig | 3570 | drivers/char/istallion.c | __FILE__, __LINE__, sig.magic0, sig.magic1, sig.magic2, |
sig | 3571 | drivers/char/istallion.c | sig.magic3, sig.romver, sig.amask0, sig.amask1, sig.amask2); |
sig | 3574 | drivers/char/istallion.c | if ((sig.magic0 != ONB_MAGIC0) || (sig.magic1 != ONB_MAGIC1) || |
sig | 3575 | drivers/char/istallion.c | (sig.magic2 != ONB_MAGIC2) || (sig.magic3 != ONB_MAGIC3)) |
sig | 3583 | drivers/char/istallion.c | if (sig.amask1) { |
sig | 3587 | drivers/char/istallion.c | if (((sig.amask0 << i) & 0x8000) == 0) |
sig | 293 | drivers/char/n_tty.c | static void isig(int sig, struct tty_struct *tty) |
sig | 296 | drivers/char/n_tty.c | kill_pg(tty->pgrp, sig, 1); |
sig | 618 | drivers/char/n_tty.c | int is_ignored(int sig) |
sig | 620 | drivers/char/n_tty.c | return ((current->blocked & (1<<(sig-1))) || |
sig | 621 | drivers/char/n_tty.c | (current->sig->action[sig-1].sa_handler == SIG_IGN)); |
sig | 170 | drivers/scsi/dtc.c | int sig, count; |
sig | 185 | drivers/scsi/dtc.c | for (sig = 0; sig < NO_SIGNATURES; ++sig) |
sig | 187 | drivers/scsi/dtc.c | (bases[current_base].address + signatures[sig].offset, |
sig | 188 | drivers/scsi/dtc.c | signatures[sig].string, strlen(signatures[sig].string))) { |
sig | 204 | drivers/scsi/t128.c | int sig, count; |
sig | 219 | drivers/scsi/t128.c | for (sig = 0; sig < NO_SIGNATURES; ++sig) |
sig | 221 | drivers/scsi/t128.c | (bases[current_base].address + signatures[sig].offset, |
sig | 222 | drivers/scsi/t128.c | signatures[sig].string, strlen(signatures[sig].string))) { |
sig | 214 | drivers/scsi/wd7000.c | const void *sig; /* String to look for */ |
sig | 1110 | drivers/scsi/wd7000.c | const Signature *sig; |
sig | 1121 | drivers/scsi/wd7000.c | sig = signatures; |
sig | 1123 | drivers/scsi/wd7000.c | if (!memcmp(cfg->bios+sig->ofs, sig->sig, sig->len)) { |
sig | 1182 | drivers/scsi/wd7000.c | sig++; /* try next signature with this configuration */ |
sig | 430 | fs/exec.c | current->sig->action[i].sa_mask = 0; |
sig | 431 | fs/exec.c | current->sig->action[i].sa_flags = 0; |
sig | 432 | fs/exec.c | if (current->sig->action[i].sa_handler != SIG_IGN) |
sig | 433 | fs/exec.c | current->sig->action[i].sa_handler = NULL; |
sig | 495 | fs/exec.c | || (current->sig->count > 1) |
sig | 166 | fs/fcntl.c | void kill_fasync(struct fasync_struct *fa, int sig) |
sig | 175 | fs/fcntl.c | kill_proc(fa->fa_file->f_owner, sig, 1); |
sig | 177 | fs/fcntl.c | kill_pg(-fa->fa_file->f_owner, sig, 1); |
sig | 118 | fs/isofs/rock.c | int rrflag, sig; |
sig | 124 | fs/isofs/rock.c | sig = (chr[0] << 8) + chr[1]; |
sig | 128 | fs/isofs/rock.c | switch(sig){ |
sig | 185 | fs/isofs/rock.c | int sig; |
sig | 190 | fs/isofs/rock.c | sig = (chr[0] << 8) + chr[1]; |
sig | 194 | fs/isofs/rock.c | switch(sig){ |
sig | 266 | fs/isofs/rock.c | int cnt, sig; |
sig | 274 | fs/isofs/rock.c | sig = (chr[0] << 8) + chr[1]; |
sig | 278 | fs/isofs/rock.c | switch(sig){ |
sig | 415 | fs/isofs/rock.c | int sig; |
sig | 465 | fs/isofs/rock.c | sig = (chr[0] << 8) + chr[1]; |
sig | 469 | fs/isofs/rock.c | switch(sig){ |
sig | 367 | fs/ncpfs/sock.c | ? ((current->sig->action[SIGINT - 1].sa_handler == SIG_DFL |
sig | 369 | fs/ncpfs/sock.c | | (current->sig->action[SIGQUIT - 1].sa_handler == SIG_DFL |
sig | 80 | fs/nfs/sock.c | ? ((current->sig->action[SIGINT - 1].sa_handler == SIG_DFL |
sig | 82 | fs/nfs/sock.c | | (current->sig->action[SIGQUIT - 1].sa_handler == SIG_DFL |
sig | 596 | fs/proc/array.c | if (p->sig) { |
sig | 597 | fs/proc/array.c | struct sigaction * action = p->sig->action; |
sig | 666 | fs/proc/array.c | if (tsk->sig) { |
sig | 669 | fs/proc/array.c | switch((unsigned long) tsk->sig->action[i].sa_handler) { |
sig | 521 | include/linux/fs.h | extern void kill_fasync(struct fasync_struct *fa, int sig); |
sig | 53 | include/linux/kernel.h | extern int kill_proc(int pid, int sig, int priv); |
sig | 54 | include/linux/kernel.h | extern int kill_pg(int pgrp, int sig, int priv); |
sig | 55 | include/linux/kernel.h | extern int kill_sl(int sess, int sig, int priv); |
sig | 248 | include/linux/sched.h | struct signal_struct *sig; |
sig | 348 | include/linux/sched.h | extern void force_sig(unsigned long sig,struct task_struct * p); |
sig | 349 | include/linux/sched.h | extern int send_sig(unsigned long sig,struct task_struct * p,int priv); |
sig | 1099 | include/linux/soundcard.h | #define SEQ_TIME_SIGNATURE(sig) _TIMER_EVENT(TMR_TIMESIG, sig) |
sig | 312 | include/linux/tty.h | extern int is_ignored(int sig); |
sig | 313 | include/linux/tty.h | extern int tty_signal(int sig, struct tty_struct *tty); |
sig | 28 | kernel/exit.c | static inline void generate(unsigned long sig, struct task_struct * p) |
sig | 30 | kernel/exit.c | unsigned long mask = 1 << (sig-1); |
sig | 31 | kernel/exit.c | struct sigaction * sa = sig + p->sig->action - 1; |
sig | 40 | kernel/exit.c | if (sa->sa_handler == SIG_IGN && sig != SIGCHLD) |
sig | 44 | kernel/exit.c | (sig == SIGCONT || sig == SIGCHLD || sig == SIGWINCH || sig == SIGURG)) |
sig | 56 | kernel/exit.c | void force_sig(unsigned long sig, struct task_struct * p) |
sig | 58 | kernel/exit.c | sig--; |
sig | 59 | kernel/exit.c | if (p->sig) { |
sig | 60 | kernel/exit.c | unsigned long mask = 1UL << sig; |
sig | 61 | kernel/exit.c | struct sigaction *sa = p->sig->action + sig; |
sig | 72 | kernel/exit.c | int send_sig(unsigned long sig,struct task_struct * p,int priv) |
sig | 74 | kernel/exit.c | if (!p || sig > 32) |
sig | 76 | kernel/exit.c | if (!priv && ((sig != SIGCONT) || (current->session != p->session)) && |
sig | 81 | kernel/exit.c | if (!sig) |
sig | 86 | kernel/exit.c | if (!p->sig) |
sig | 88 | kernel/exit.c | if ((sig == SIGKILL) || (sig == SIGCONT)) { |
sig | 95 | kernel/exit.c | if (sig == SIGSTOP || sig == SIGTSTP || sig == SIGTTIN || sig == SIGTTOU) |
sig | 98 | kernel/exit.c | generate(sig,p); |
sig | 257 | kernel/exit.c | int kill_pg(int pgrp, int sig, int priv) |
sig | 263 | kernel/exit.c | if (sig<0 || sig>32 || pgrp<=0) |
sig | 267 | kernel/exit.c | if ((err = send_sig(sig,p,priv)) != 0) |
sig | 281 | kernel/exit.c | int kill_sl(int sess, int sig, int priv) |
sig | 287 | kernel/exit.c | if (sig<0 || sig>32 || sess<=0) |
sig | 291 | kernel/exit.c | if ((err = send_sig(sig,p,priv)) != 0) |
sig | 300 | kernel/exit.c | int kill_proc(int pid, int sig, int priv) |
sig | 304 | kernel/exit.c | if (sig<0 || sig>32) |
sig | 308 | kernel/exit.c | return send_sig(sig,p,priv); |
sig | 317 | kernel/exit.c | asmlinkage int sys_kill(int pid,int sig) |
sig | 322 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
sig | 328 | kernel/exit.c | if ((err = send_sig(sig,p,0)) != -EPERM) |
sig | 335 | kernel/exit.c | return(kill_pg(-pid,sig,0)); |
sig | 337 | kernel/exit.c | return(kill_proc(pid,sig,0)); |
sig | 436 | kernel/exit.c | struct signal_struct * sig = tsk->sig; |
sig | 438 | kernel/exit.c | if (sig) { |
sig | 439 | kernel/exit.c | tsk->sig = NULL; |
sig | 440 | kernel/exit.c | if (!--sig->count) { |
sig | 441 | kernel/exit.c | kfree(sig); |
sig | 185 | kernel/fork.c | current->sig->count++; |
sig | 188 | kernel/fork.c | tsk->sig = kmalloc(sizeof(*tsk->sig), GFP_KERNEL); |
sig | 189 | kernel/fork.c | if (!tsk->sig) |
sig | 191 | kernel/fork.c | tsk->sig->count = 1; |
sig | 192 | kernel/fork.c | memcpy(tsk->sig->action, current->sig->action, sizeof(tsk->sig->action)); |
sig | 109 | kernel/signal.c | p = signum - 1 + current->sig->action; |
sig | 145 | kernel/signal.c | handler = current->sig->action[signum-1].sa_handler; |
sig | 146 | kernel/signal.c | current->sig->action[signum-1] = tmp; |
sig | 161 | kernel/signal.c | p = signum - 1 + current->sig->action; |
sig | 80 | mm/memory.c | task->sig->action[SIGKILL-1].sa_handler = NULL; |