/arch/powerpc/kernel/ |
D | signal.c | 118 int signr; in do_signal_pending() local 128 signr = get_signal_to_deliver(&info, &ka, regs, NULL); in do_signal_pending() 131 check_syscall_restart(regs, &ka, signr > 0); in do_signal_pending() 133 if (signr <= 0) { in do_signal_pending() 157 ret = handle_rt_signal32(signr, &ka, &info, oldset, in do_signal_pending() 160 ret = handle_signal32(signr, &ka, &info, oldset, in do_signal_pending() 163 ret = handle_rt_signal64(signr, &ka, &info, oldset, regs); in do_signal_pending() 171 sigaddset(¤t->blocked, signr); in do_signal_pending() 184 tracehook_signal_handler(signr, &info, &ka, regs, in do_signal_pending()
|
D | signal.h | 47 extern int handle_rt_signal64(int signr, struct k_sigaction *ka, 58 static inline int handle_rt_signal64(int signr, struct k_sigaction *ka, in handle_rt_signal64() argument
|
D | signal_64.c | 77 int signr, sigset_t *set, unsigned long handler, in setup_sigcontext() argument 139 err |= __put_user(signr, &sc->signal); in setup_sigcontext() 392 int handle_rt_signal64(int signr, struct k_sigaction *ka, siginfo_t *info, in handle_rt_signal64() argument 422 err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, signr, NULL, in handle_rt_signal64() 452 regs->gpr[3] = signr; in handle_rt_signal64() 476 force_sigsegv(signr, current); in handle_rt_signal64()
|
D | traps.c | 171 void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr) in _exception() argument 180 if (die("Exception in kernel mode", regs, signr)) in _exception() 183 unhandled_signal(current, signr) && in _exception() 186 current->comm, current->pid, signr, in _exception() 191 info.si_signo = signr; in _exception() 194 force_sig_info(signr, &info, current); in _exception() 207 handler = current->sighand->action[signr-1].sa.sa_handler; in _exception() 213 "but has no handler for it\n", signr); in _exception() 214 do_exit(signr); in _exception()
|
/arch/avr32/kernel/ |
D | traps.c | 73 void _exception(long signr, struct pt_regs *regs, int code, in _exception() argument 79 die("Unhandled exception in kernel mode", regs, signr); in _exception() 82 info.si_signo = signr; in _exception() 85 force_sig_info(signr, &info, current); in _exception() 98 handler = current->sighand->action[signr-1].sa.sa_handler; in _exception() 104 "but has no handler for it\n", signr); in _exception() 105 do_exit(signr); in _exception()
|
D | signal.c | 266 int signr; in do_signal() local 282 signr = get_signal_to_deliver(&info, &ka, regs, NULL); in do_signal() 287 if (signr > 0) { in do_signal() 293 if (signr > 0 && !(ka.sa.sa_flags & SA_RESTART)) { in do_signal() 303 if (signr == 0) { in do_signal() 312 handle_signal(signr, &ka, &info, oldset, regs, syscall); in do_signal()
|
/arch/m32r/kernel/ |
D | traps.c | 248 static __inline__ void do_trap(int trapnr, int signr, const char * str, in do_trap() argument 257 force_sig_info(signr, info, tsk); in do_trap() 259 force_sig(signr, tsk); in do_trap() 269 #define DO_ERROR(trapnr, signr, str, name) \ argument 272 do_trap(trapnr, signr, NULL, regs, error_code, NULL); \ 275 #define DO_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr) \ argument 279 info.si_signo = signr; \ 283 do_trap(trapnr, signr, str, regs, error_code, &info); \
|
D | signal.c | 337 int signr; in do_signal() local 356 signr = get_signal_to_deliver(&info, &ka, regs, NULL); in do_signal() 357 if (signr > 0) { in do_signal() 365 handle_signal(signr, &ka, &info, oldset, regs); in do_signal()
|
/arch/mips/include/asm/ |
D | abi.h | 17 struct pt_regs *regs, int signr, 20 struct pt_regs *regs, int signr,
|
/arch/um/kernel/ |
D | signal.c | 26 static int handle_signal(struct pt_regs *regs, unsigned long signr, in handle_signal() argument 64 err = setup_signal_stack_sc(sp, signr, ka, regs, oldset); in handle_signal() 67 err = setup_signal_stack_si(sp, signr, ka, regs, info, oldset); in handle_signal() 74 force_sigsegv(signr, current); in handle_signal() 80 sigaddset(¤t->blocked, signr); in handle_signal()
|
/arch/avr32/mm/ |
D | fault.c | 65 long signr; in do_page_fault() local 77 signr = SIGSEGV; in do_page_fault() 205 die("Kernel access of bad area", regs, signr); in do_page_fault() 228 signr = SIGBUS; in do_page_fault()
|
/arch/x86/kernel/ |
D | traps.c | 166 do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, in do_trap() argument 202 if (show_unhandled_signals && unhandled_signal(tsk, signr) && in do_trap() 214 force_sig_info(signr, info, tsk); in do_trap() 216 force_sig(signr, tsk); in do_trap() 236 #define DO_ERROR(trapnr, signr, str, name) \ argument 239 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \ 243 do_trap(trapnr, signr, str, regs, error_code, NULL); \ 246 #define DO_ERROR_INFO(trapnr, signr, str, name, sicode, siaddr) \ argument 250 info.si_signo = signr; \ 254 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \ [all …]
|
D | dumpstack.c | 216 void __kprobes oops_end(unsigned long flags, struct pt_regs *regs, int signr) in oops_end() argument 231 if (!signr) in oops_end() 237 do_exit(signr); in oops_end()
|
/arch/sh/kernel/ |
D | traps_64.c | 38 extern void show_excp_regs(char *fname, int trapnr, int signr, 44 static void do_unhandled_exception(int trapnr, int signr, char *str, char *fn_name, 47 #define DO_ERROR(trapnr, signr, str, name, tsk) \ argument 50 do_unhandled_exception(trapnr, signr, str, __stringify(name), error_code, regs, current); \ 150 int signr = SIGILL; in do_reserved_inst() local 224 signr = SIGSEGV; in do_reserved_inst() 228 …do_unhandled_exception(trapnr, signr, exception_name, "do_reserved_inst", error_code, regs, curren… in do_reserved_inst() 282 static void do_unhandled_exception(int trapnr, int signr, char *str, char *fn_name, in do_unhandled_exception() argument 285 show_excp_regs(fn_name, trapnr, signr, regs); in do_unhandled_exception() 290 force_sig(signr, tsk); in do_unhandled_exception()
|
/arch/mips/kernel/ |
D | signal.c | 478 int signr, sigset_t *set) in setup_frame() argument 504 regs->regs[ 4] = signr; in setup_frame() 517 force_sigsegv(signr, current); in setup_frame() 523 int signr, sigset_t *set, siginfo_t *info) in setup_rt_frame() argument 562 regs->regs[ 4] = signr; in setup_rt_frame() 576 force_sigsegv(signr, current); in setup_rt_frame() 631 int signr; in do_signal() local 646 signr = get_signal_to_deliver(&info, &ka, regs, NULL); in do_signal() 647 if (signr > 0) { in do_signal() 649 if (handle_signal(signr, &info, &ka, oldset, regs) == 0) { in do_signal()
|
D | signal_n32.c | 177 struct pt_regs *regs, int signr, sigset_t *set, siginfo_t *info) in setup_rt_frame_n32() argument 218 regs->regs[ 4] = signr; in setup_rt_frame_n32() 232 force_sigsegv(signr, current); in setup_rt_frame_n32()
|
/arch/sparc/kernel/ |
D | signal_32.c | 476 handle_signal(unsigned long signr, struct k_sigaction *ka, in handle_signal() argument 480 setup_rt_frame(ka, regs, signr, oldset, info); in handle_signal() 482 setup_frame(ka, regs, signr, oldset); in handle_signal() 487 sigaddset(¤t->blocked, signr); in handle_signal() 523 int signr; in do_signal() local 535 signr = get_signal_to_deliver(&info, &ka, regs, NULL); in do_signal() 544 if (signr > 0) { in do_signal() 547 handle_signal(signr, &ka, &info, oldset, regs); in do_signal() 557 tracehook_signal_handler(signr, &info, &ka, regs, 0); in do_signal()
|
D | signal32.c | 589 unsigned long signr, sigset_t *oldset, in setup_rt_frame32() argument 672 regs->u_regs[UREG_I0] = signr; in setup_rt_frame32() 726 force_sigsegv(signr, current); in setup_rt_frame32() 729 static inline void handle_signal32(unsigned long signr, struct k_sigaction *ka, in handle_signal32() argument 734 setup_rt_frame32(ka, regs, signr, oldset, info); in handle_signal32() 736 setup_frame32(ka, regs, signr, oldset); in handle_signal32() 741 sigaddset(¤t->blocked,signr); in handle_signal32() 776 int signr; in do_signal32() local 778 signr = get_signal_to_deliver(&info, &ka, regs, NULL); in do_signal32() 787 if (signr > 0) { in do_signal32() [all …]
|
D | signal_64.c | 492 static inline void handle_signal(unsigned long signr, struct k_sigaction *ka, in handle_signal() argument 496 setup_rt_frame(ka, regs, signr, oldset, in handle_signal() 501 sigaddset(¤t->blocked,signr); in handle_signal() 537 int signr; in do_signal() local 560 signr = get_signal_to_deliver(&info, &ka, regs, NULL); in do_signal() 569 if (signr > 0) { in do_signal() 572 handle_signal(signr, &ka, &info, oldset, regs); in do_signal() 581 tracehook_signal_handler(signr, &info, &ka, regs, 0); in do_signal()
|
/arch/s390/kernel/ |
D | signal.c | 426 int signr; in do_signal() local 467 signr = get_signal_to_deliver(&info, &ka, regs, NULL); in do_signal() 471 if (signr > 0 && regs->psw.addr == restart_addr) { in do_signal() 474 && !(current->sighand->action[signr-1].sa.sa_flags in do_signal() 481 if (signr > 0) { in do_signal() 486 ret = handle_signal32(signr, &ka, &info, oldset, regs); in do_signal() 490 ret = handle_signal(signr, &ka, &info, oldset, regs); in do_signal() 512 tracehook_signal_handler(signr, &info, &ka, regs, in do_signal()
|
/arch/x86/include/asm/ |
D | kdebug.h | 35 extern void oops_end(unsigned long, struct pt_regs *, int signr);
|
/arch/blackfin/kernel/ |
D | signal.c | 316 int signr; in do_signal() local 330 signr = get_signal_to_deliver(&info, &ka, regs, NULL); in do_signal() 331 if (signr > 0) { in do_signal() 333 if (handle_signal(signr, &info, &ka, oldset, regs) == 0) { in do_signal()
|
/arch/mn10300/kernel/ |
D | traps.c | 65 #define DO_ERROR(signr, prologue, str, name) \ argument 71 force_sig(signr, current); \ 74 #define DO_EINFO(signr, prologue, str, name, sicode) \ argument 81 info.si_signo = signr; \ 82 if (signr == SIGILL && sicode == ILL_ILLOPC) { \
|
/arch/xtensa/kernel/ |
D | signal.c | 489 int signr; in do_signal() local 503 signr = get_signal_to_deliver(&info, &ka, regs, NULL); in do_signal() 505 if (signr > 0) { in do_signal() 539 setup_frame(signr, &ka, &info, oldset, regs); in do_signal() 547 sigaddset(¤t->blocked, signr); in do_signal()
|
/arch/parisc/kernel/ |
D | signal.c | 581 int signr; in do_signal() local 604 signr = get_signal_to_deliver(&info, &ka, regs, NULL); in do_signal() 605 DBG(3,"do_signal: signr = %d, regs->gr[28] = %ld\n", signr, regs->gr[28]); in do_signal() 607 if (signr <= 0) in do_signal() 617 if (handle_signal(signr, &info, &ka, oldset, in do_signal()
|