Home
last modified time | relevance | path

Searched refs:signr (Results 1 – 25 of 48) sorted by relevance

12

/linux-2.4.37.9/arch/ppc64/kernel/
Dsignal.c233 int signr, sigset_t *set, unsigned long handler) in setup_sigcontext() argument
244 err |= __put_user(signr, &sc->signal); in setup_sigcontext()
373 setup_rt_frame(int signr, struct k_sigaction *ka, siginfo_t *info, in setup_rt_frame() argument
404 err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, signr, NULL, in setup_rt_frame()
426 regs->gpr[3] = signr; in setup_rt_frame()
474 setup_frame(int signr, struct k_sigaction *ka, sigset_t *set, in setup_frame() argument
492 err |= setup_sigcontext(&frame->sc, regs, signr, set, in setup_frame()
511 regs->gpr[3] = signr; in setup_frame()
584 unsigned long signr; in get_signal_to_deliver() local
588 signr = dequeue_signal(&current->blocked, info); in get_signal_to_deliver()
[all …]
Dsignal32.c1099 unsigned long signr = 0; in do_signal32() local
1108 signr = dequeue_signal(&current->blocked, &info); in do_signal32()
1111 if (!signr) in do_signal32()
1114 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal32()
1116 current->exit_code = signr; in do_signal32()
1122 if (!(signr = current->exit_code)) in do_signal32()
1127 if (signr == SIGSTOP) in do_signal32()
1131 if (signr != info.si_signo) { in do_signal32()
1132 info.si_signo = signr; in do_signal32()
1140 if (sigismember(&current->blocked, signr)) { in do_signal32()
[all …]
/linux-2.4.37.9/arch/ppc/kernel/
Dsignal.c580 int signr; in get_signal_to_deliver() local
584 signr = dequeue_signal(&current->blocked, infop); in get_signal_to_deliver()
587 if (!signr) in get_signal_to_deliver()
590 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in get_signal_to_deliver()
592 current->exit_code = signr; in get_signal_to_deliver()
598 if (!(signr = current->exit_code)) in get_signal_to_deliver()
603 if (signr == SIGSTOP) in get_signal_to_deliver()
607 if (signr != infop->si_signo) { in get_signal_to_deliver()
608 infop->si_signo = signr; in get_signal_to_deliver()
616 if (sigismember(&current->blocked, signr)) { in get_signal_to_deliver()
[all …]
/linux-2.4.37.9/arch/mips64/kernel/
Dsignal.c275 struct pt_regs *regs, int signr, sigset_t *set, siginfo_t *info) in setup_rt_frame() argument
322 regs->regs[ 4] = signr; in setup_rt_frame()
337 if (signr == SIGSEGV) in setup_rt_frame()
343 struct pt_regs *regs, int signr, sigset_t *set, siginfo_t *info);
404 unsigned long signr; in do_signal() local
407 signr = dequeue_signal(&current->blocked, &info); in do_signal()
410 if (!signr) in do_signal()
413 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
415 current->exit_code = signr; in do_signal()
421 if (!(signr = current->exit_code)) in do_signal()
[all …]
Dsignal32.c585 int signr, sigset_t *set) in setup_frame() argument
619 regs->regs[ 4] = signr; in setup_frame()
634 if (signr == SIGSEGV) in setup_frame()
640 struct pt_regs *regs, int signr, in setup_rt_frame() argument
692 regs->regs[ 4] = signr; in setup_rt_frame()
707 if (signr == SIGSEGV) in setup_rt_frame()
762 unsigned long signr; in do_signal32() local
765 signr = dequeue_signal(&current->blocked, &info); in do_signal32()
768 if (!signr) in do_signal32()
771 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal32()
[all …]
/linux-2.4.37.9/arch/parisc/kernel/
Dsignal.c448 unsigned long signr; in do_signal() local
451 signr = dequeue_signal(&current->blocked, &info); in do_signal()
453 DBG(("do_signal: signr=%ld, pid=%d\n", signr, current->pid)); in do_signal()
454 if (!signr) in do_signal()
457 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
459 current->exit_code = signr; in do_signal()
465 if (!(signr = current->exit_code)) in do_signal()
470 if (signr == SIGSTOP) in do_signal()
474 if (signr != info.si_signo) { in do_signal()
475 info.si_signo = signr; in do_signal()
[all …]
/linux-2.4.37.9/arch/mips/kernel/
Dsignal.c392 int signr, sigset_t *set) in setup_frame() argument
426 regs->regs[ 4] = signr; in setup_frame()
441 if (signr == SIGSEGV) in setup_frame()
447 int signr, sigset_t *set, siginfo_t *info) in setup_rt_frame() argument
494 regs->regs[ 4] = signr; in setup_rt_frame()
509 if (signr == SIGSEGV) in setup_rt_frame()
569 unsigned long signr; in do_signal() local
572 signr = dequeue_signal(&current->blocked, &info); in do_signal()
575 if (!signr) in do_signal()
578 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
[all …]
Dirixsig.c81 int signr, sigset_t *oldmask) in setup_irix_frame() argument
115 regs->regs[4] = (unsigned long) signr; in setup_irix_frame()
124 if (signr == SIGSEGV) in setup_irix_frame()
131 int signr, sigset_t *oldmask, siginfo_t *info) in setup_irix_rt_frame() argument
184 unsigned long signr; in do_irix_signal() local
187 signr = dequeue_signal(&current->blocked, &info); in do_irix_signal()
190 if (!signr) in do_irix_signal()
193 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_irix_signal()
195 current->exit_code = signr; in do_irix_signal()
201 if (!(signr = current->exit_code)) in do_irix_signal()
[all …]
/linux-2.4.37.9/arch/cris/kernel/
Dsignal.c598 unsigned long signr; in do_signal() local
601 signr = dequeue_signal(&current->blocked, &info); in do_signal()
604 if (!signr) in do_signal()
607 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
609 current->exit_code = signr; in do_signal()
615 if (!(signr = current->exit_code)) in do_signal()
620 if (signr == SIGSTOP) in do_signal()
624 if (signr != info.si_signo) { in do_signal()
625 info.si_signo = signr; in do_signal()
633 if (sigismember(&current->blocked, signr)) { in do_signal()
[all …]
/linux-2.4.37.9/arch/s390x/kernel/
Dsignal.c492 unsigned long signr; in do_signal() local
495 signr = dequeue_signal(&current->blocked, &info); in do_signal()
498 if (!signr) in do_signal()
501 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
503 current->exit_code = signr; in do_signal()
509 if (!(signr = current->exit_code)) in do_signal()
514 if (signr == SIGSTOP) in do_signal()
518 if (signr != info.si_signo) { in do_signal()
519 info.si_signo = signr; in do_signal()
527 if (sigismember(&current->blocked, signr)) { in do_signal()
[all …]
Dsignal32.c627 unsigned long signr; in do_signal32() local
630 signr = dequeue_signal(&current->blocked, &info); in do_signal32()
633 if (!signr) in do_signal32()
636 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal32()
638 current->exit_code = signr; in do_signal32()
644 if (!(signr = current->exit_code)) in do_signal32()
649 if (signr == SIGSTOP) in do_signal32()
653 if (signr != info.si_signo) { in do_signal32()
654 info.si_signo = signr; in do_signal32()
662 if (sigismember(&current->blocked, signr)) { in do_signal32()
[all …]
/linux-2.4.37.9/arch/s390/kernel/
Dsignal.c488 unsigned long signr; in do_signal() local
491 signr = dequeue_signal(&current->blocked, &info); in do_signal()
494 if (!signr) in do_signal()
497 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
499 current->exit_code = signr; in do_signal()
505 if (!(signr = current->exit_code)) in do_signal()
510 if (signr == SIGSTOP) in do_signal()
514 if (signr != info.si_signo) { in do_signal()
515 info.si_signo = signr; in do_signal()
523 if (sigismember(&current->blocked, signr)) { in do_signal()
[all …]
/linux-2.4.37.9/arch/x86_64/kernel/
Dsignal.c465 unsigned long signr; in do_signal() local
468 signr = dequeue_signal(&current->blocked, &info); in do_signal()
471 if (!signr) { in do_signal()
475 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
477 current->exit_code = signr; in do_signal()
483 if (!(signr = current->exit_code)) in do_signal()
488 if (signr == SIGSTOP) in do_signal()
492 if (signr != info.si_signo) { in do_signal()
493 info.si_signo = signr; in do_signal()
501 if (sigismember(&current->blocked, signr)) { in do_signal()
[all …]
Dtraps.c407 static void do_trap(int trapnr, int signr, char *str, in do_trap() argument
429 (tsk->sig->action[signr-1].sa.sa_handler == SIG_IGN || in do_trap()
430 (tsk->sig->action[signr-1].sa.sa_handler == SIG_DFL))) in do_trap()
436 force_sig_info(signr, info, tsk); in do_trap()
438 force_sig(signr, tsk); in do_trap()
454 #define DO_ERROR(trapnr, signr, str, name) \ argument
457 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) == NOTIFY_BAD) \
459 do_trap(trapnr, signr, str, regs, error_code, NULL); \
462 #define DO_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr) \ argument
466 info.si_signo = signr; \
[all …]
/linux-2.4.37.9/arch/arm/kernel/
Dsignal.c556 unsigned long signr; in do_signal() local
559 signr = dequeue_signal(&current->blocked, &info); in do_signal()
562 if (!signr) in do_signal()
565 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
567 current->exit_code = signr; in do_signal()
574 if (!(signr = current->exit_code)) in do_signal()
579 if (signr == SIGSTOP) in do_signal()
583 if (signr != info.si_signo) { in do_signal()
584 info.si_signo = signr; in do_signal()
592 if (sigismember(&current->blocked, signr)) { in do_signal()
[all …]
/linux-2.4.37.9/arch/sh/kernel/
Dsignal.c603 unsigned long signr; in do_signal() local
606 signr = dequeue_signal(&current->blocked, &info); in do_signal()
609 if (!signr) in do_signal()
612 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
614 current->exit_code = signr; in do_signal()
620 if (!(signr = current->exit_code)) in do_signal()
625 if (signr == SIGSTOP) in do_signal()
629 if (signr != info.si_signo) { in do_signal()
630 info.si_signo = signr; in do_signal()
638 if (sigismember(&current->blocked, signr)) { in do_signal()
[all …]
/linux-2.4.37.9/arch/sparc/kernel/
Dsignal.c457 setup_frame(struct sigaction *sa, struct pt_regs *regs, int signr, sigset_t *oldset, siginfo_t *inf… in setup_frame() argument
474 sframep, pc, signr); in setup_frame()
511 err |= __put_user(signr, &sframep->sig_num); in setup_frame()
516 switch (signr) { in setup_frame()
783 struct pt_regs *regs, int signr, sigset_t *oldset) in setup_svr4_frame() argument
876 err |= __put_user(signr, &si->siginfo.signo); in setup_svr4_frame()
892 err |= __put_user(signr, &rw->ins [0]); in setup_svr4_frame()
899 regs->u_regs[UREG_I0] = signr; in setup_svr4_frame()
1047 handle_signal(unsigned long signr, struct k_sigaction *ka, in handle_signal() argument
1052 setup_svr4_frame(&ka->sa, regs->pc, regs->npc, regs, signr, oldset); in handle_signal()
[all …]
/linux-2.4.37.9/arch/ia64/kernel/
Dsignal.c568 unsigned long signr; in ia64_do_signal() local
571 signr = dequeue_signal(&current->blocked, &info); in ia64_do_signal()
574 if (!signr) in ia64_do_signal()
577 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in ia64_do_signal()
579 current->exit_code = signr; in ia64_do_signal()
585 signr = current->exit_code; in ia64_do_signal()
589 if (!signr) in ia64_do_signal()
594 if (signr == SIGSTOP) in ia64_do_signal()
598 if (signr != info.si_signo) { in ia64_do_signal()
599 info.si_signo = signr; in ia64_do_signal()
[all …]
/linux-2.4.37.9/arch/i386/kernel/
Dsignal.c602 unsigned long signr; in do_signal() local
605 signr = dequeue_signal(&current->blocked, &info); in do_signal()
608 if (!signr) in do_signal()
611 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
613 current->exit_code = signr; in do_signal()
619 if (!(signr = current->exit_code)) in do_signal()
624 if (signr == SIGSTOP) in do_signal()
628 if (signr != info.si_signo) { in do_signal()
629 info.si_signo = signr; in do_signal()
637 if (sigismember(&current->blocked, signr)) { in do_signal()
[all …]
Dtraps.c313 static void inline do_trap(int trapnr, int signr, char *str, int vm86, in do_trap() argument
331 force_sig_info(signr, info, tsk); in do_trap()
333 force_sig(signr, tsk); in do_trap()
353 #define DO_ERROR(trapnr, signr, str, name) \ argument
356 do_trap(trapnr, signr, str, 0, regs, error_code, NULL); \
359 #define DO_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr) \ argument
363 info.si_signo = signr; \
367 do_trap(trapnr, signr, str, 0, regs, error_code, &info); \
370 #define DO_VM86_ERROR(trapnr, signr, str, name) \ argument
373 do_trap(trapnr, signr, str, 1, regs, error_code, NULL); \
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dsignal.c604 static inline void handle_signal(unsigned long signr, struct k_sigaction *ka, in handle_signal() argument
608 setup_rt_frame(ka, regs, signr, oldset, (ka->sa.sa_flags & SA_SIGINFO) ? info : NULL); in handle_signal()
614 sigaddset(&current->blocked,signr); in handle_signal()
705 unsigned long signr; in do_signal() local
721 signr = dequeue_signal(&current->blocked, &info); in do_signal()
724 if (!signr) in do_signal()
727 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
741 current->exit_code = signr; in do_signal()
745 if (!(signr = current->exit_code)) in do_signal()
748 if (signr == SIGSTOP) in do_signal()
[all …]
Dsignal32.c521 setup_frame32(struct sigaction *sa, struct pt_regs *regs, int signr, sigset_t *oldset, siginfo_t *i… in setup_frame32() argument
551 sframep, pc, signr); in setup_frame32()
605 err |= __put_user(signr, &sframep->sig_num); in setup_frame32()
610 switch (signr) { in setup_frame32()
836 struct pt_regs *regs, int signr, sigset_t *oldset) in setup_svr4_frame32() argument
948 err |= __put_user(signr, &si->siginfo.signo); in setup_svr4_frame32()
969 err |= __put_user(signr, &rw->ins [0]); in setup_svr4_frame32()
976 regs->u_regs[UREG_I0] = signr; in setup_svr4_frame32()
1149 unsigned long signr, sigset_t *oldset, in setup_rt_frame32() argument
1241 regs->u_regs[UREG_I0] = signr; in setup_rt_frame32()
[all …]
/linux-2.4.37.9/arch/alpha/kernel/
Dsignal.c631 unsigned long signr; in do_signal() local
636 signr = dequeue_signal(&current->blocked, &info); in do_signal()
639 if (!signr) in do_signal()
642 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
644 current->exit_code = signr; in do_signal()
651 if (!(signr = current->exit_code)) in do_signal()
656 if (signr == SIGSTOP) in do_signal()
660 if (signr != info.si_signo) { in do_signal()
661 info.si_signo = signr; in do_signal()
669 if (sigismember(&current->blocked, signr)) { in do_signal()
[all …]
/linux-2.4.37.9/arch/sh64/kernel/
Dsignal.c717 unsigned long signr; in do_signal() local
720 signr = dequeue_signal(&current->blocked, &info); in do_signal()
723 if (!signr) in do_signal()
725 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
727 current->exit_code = signr; in do_signal()
733 if (!(signr = current->exit_code)) in do_signal()
738 if (signr == SIGSTOP) in do_signal()
742 if (signr != info.si_signo) { in do_signal()
743 info.si_signo = signr; in do_signal()
751 if (sigismember(&current->blocked, signr)) { in do_signal()
[all …]
/linux-2.4.37.9/arch/m68k/kernel/
Dsignal.c1038 int signr; in do_signal() local
1040 signr = dequeue_signal(&current->blocked, &info); in do_signal()
1042 if (!signr) in do_signal()
1045 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in do_signal()
1046 current->exit_code = signr; in do_signal()
1055 &current->sig->action[signr-1]; in do_signal()
1065 if (!(signr = current->exit_code)) { in do_signal()
1076 if (signr == SIGSTOP) in do_signal()
1080 if (signr != info.si_signo) { in do_signal()
1081 info.si_signo = signr; in do_signal()
[all …]

12