/linux/arch/sh/kernel/ |
H A D | traps.c | 143 SIGTRAP) == NOTIFY_STOP) in BUILD_TRAP_HANDLER() 146 force_sig(SIGTRAP); in BUILD_TRAP_HANDLER() 160 SIGTRAP) == NOTIFY_STOP) in BUILD_TRAP_HANDLER() 172 force_sig(SIGTRAP); in BUILD_TRAP_HANDLER()
|
H A D | hw_breakpoint.c | 341 force_sig_fault(SIGTRAP, TRAP_HWBKPT, in hw_breakpoint_handler() 363 notify_die(DIE_BREAKPOINT, "breakpoint", regs, 0, ex, SIGTRAP); in BUILD_TRAP_HANDLER()
|
/linux/include/linux/ |
H A D | ptrace.h | 151 ptrace_notify((event << 8) | SIGTRAP, message); in ptrace_event() 155 send_sig(SIGTRAP, current, 0); in ptrace_event() 345 info.si_signo = SIGTRAP; in user_single_step_report() 415 signr = ptrace_notify(SIGTRAP | ((ptrace & PT_TRACESYSGOOD) ? 0x80 : 0), in ptrace_report_syscall()
|
/linux/arch/powerpc/kernel/ |
H A D | traps.c | 105 case SIGTRAP: return "unhandled trap"; in signame() 307 force_sig_fault(SIGTRAP, TRAP_TRACE, (void __user *)regs->nip); in user_single_step_report() 1097 _exception(SIGTRAP, regs, TRAP_UNK, 0); in DEFINE_INTERRUPT_HANDLER() 1105 _exception(SIGTRAP, regs, TRAP_UNK, 0); in DEFINE_INTERRUPT_HANDLER_ASYNC() 1113 _exception(SIGTRAP, regs, TRAP_UNK, 0); in DEFINE_INTERRUPT_HANDLER_NMI() 1121 5, SIGTRAP) == NOTIFY_STOP) in DEFINE_INTERRUPT_HANDLER() 1125 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in DEFINE_INTERRUPT_HANDLER() 1130 _exception(SIGTRAP, regs, TRAP_UNK, 0); in DEFINE_INTERRUPT_HANDLER() 1142 5, SIGTRAP) == NOTIFY_STOP) in __single_step_exception() 1147 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in __single_step_exception() [all …]
|
/linux/tools/testing/selftests/perf_events/ |
H A D | remove_on_exec.c | 86 ASSERT_EQ(sigaction(SIGTRAP, &action, &self->oldact), 0); in FIXTURE_SETUP() 96 sigaction(SIGTRAP, &self->oldact, NULL); in FIXTURE_TEARDOWN() 238 if (sigaction(SIGTRAP, &action, NULL)) in exec_child()
|
H A D | sigtrap_threads.c | 130 ASSERT_EQ(sigaction(SIGTRAP, &action, &self->oldact), 0); in FIXTURE_SETUP() 146 sigaction(SIGTRAP, &self->oldact, NULL); in FIXTURE_TEARDOWN()
|
/linux/arch/s390/kernel/ |
H A D | traps.c | 77 if (notify_die(DIE_SSTEP, "sstep", regs, 0, 0, SIGTRAP) == NOTIFY_STOP) in do_per_trap() 81 force_sig_fault(SIGTRAP, TRAP_HWBKPT, in do_per_trap() 168 force_sig_fault(SIGTRAP, TRAP_BRKPT, location); in illegal_op() 185 3, SIGTRAP) != NOTIFY_STOP) in illegal_op()
|
/linux/arch/um/os-Linux/ |
H A D | start_up.c | 154 (WSTOPSIG(status) == (SIGTRAP|0x80))) { in check_sysemu() 167 else if (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGTRAP)) in check_sysemu() 207 (WSTOPSIG(status) != (SIGTRAP | 0x80))) in check_ptrace()
|
H A D | signal.c | 25 [SIGTRAP] = relay_signal, 180 [SIGTRAP] = sig_handler,
|
/linux/arch/um/os-Linux/skas/ |
H A D | process.c | 110 #define STUB_DONE_MASK (1 << SIGTRAP) 513 case SIGTRAP: in userspace() 532 case SIGTRAP + 0x80: in userspace() 535 case SIGTRAP: in userspace() 536 relay_signal(SIGTRAP, (struct siginfo *)&si, regs); in userspace()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | perf_skip.c | 50 if (!ASSERT_OK(sigaction(SIGTRAP, &action, &previous_sigtrap), "sigaction")) in serial_test_perf_skip() 136 sigaction(SIGTRAP, &previous_sigtrap, NULL); in serial_test_perf_skip()
|
/linux/tools/testing/selftests/x86/ |
H A D | fsgsbase.c | 466 raise(SIGTRAP); in test_ptrace_write_gs_read_base() 472 if (WSTOPSIG(status) == SIGTRAP) { in test_ptrace_write_gs_read_base() 526 raise(SIGTRAP); in test_ptrace_write_gsbase() 532 if (WSTOPSIG(status) == SIGTRAP) { in test_ptrace_write_gsbase()
|
H A D | single_step_syscall.c | 94 [SIGTRAP] = "SIGTRAP", 151 sethandler(SIGTRAP, sigtrap, 0); in main()
|
H A D | sigreturn.c | 488 if (asm_ss != sig_ss && sig == SIGTRAP) { in sigtrap() 539 clearhandler(SIGTRAP); in test_nonstrict_ss() 779 sethandler(SIGTRAP, sigtrap, SA_ONSTACK); in main() 829 clearhandler(SIGTRAP); in main()
|
H A D | mov_ss_trap.c | 112 [SIGTRAP] = "SIGTRAP", 154 sethandler(SIGTRAP, sigtrap, 0); in main()
|
/linux/kernel/debug/kdb/ |
H A D | kdb_debugger.c | 72 if (ks->err_code == KDB_REASON_SYSTEM_NMI && ks->signo == SIGTRAP) in kdb_stub() 110 ks->signo == SIGTRAP) { in kdb_stub()
|
/linux/arch/mips/kernel/ |
H A D | traps.c | 976 SIGTRAP) == NOTIFY_STOP) in do_trap_or_bp() 981 SIGTRAP) == NOTIFY_STOP) in do_trap_or_bp() 985 * A short test says that IRIX 5.3 sends SIGTRAP for all trap in do_trap_or_bp() 1001 force_sig(SIGTRAP); in do_trap_or_bp() 1016 force_sig(SIGTRAP); in do_trap_or_bp() 1022 force_sig_fault(SIGTRAP, si_code, NULL); in do_trap_or_bp() 1024 force_sig(SIGTRAP); in do_trap_or_bp() 1079 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 1085 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 1091 current->thread.trap_nr, SIGTRAP) in do_bp() [all...] |
/linux/arch/csky/kernel/ |
H A D | asm-offsets.c | 80 DEFINE(SIGTRAP, SIGTRAP); in main()
|
H A D | traps.c | 180 send_sig(SIGTRAP, current, 0); in do_trap_bkpt() 202 send_sig(SIGTRAP, current, 0); in do_trap_illinsn()
|
/linux/arch/arm64/include/asm/ |
H A D | signal.h | 18 if (sig == SIGTRAP && si_code == TRAP_BRKPT) in arch_untagged_si_addr()
|
/linux/arch/parisc/kernel/ |
H A D | traps.c | 278 force_sig_fault(SIGTRAP, wot, in handle_gdb_break() 313 kgdb_handle_exception(9, SIGTRAP, 0, regs); in handle_break() 424 (void)notify_die(DIE_OOPS, msg, regs, 0, code, SIGTRAP); in parisc_terminate() 543 kgdb_handle_exception(0, SIGTRAP, 0, regs); in handle_interruption()
|
/linux/tools/perf/tests/ |
H A D | sigtrap.c | 49 .sigtrap = 1, /* Request synchronous SIGTRAP on event. */ in make_event_attr() 128 .sigtrap = 1, /* Request synchronous SIGTRAP on event. */ in kernel_with_sleepable_spinlocks() 239 if (sigaction(SIGTRAP, &action, &oldact)) { in test__sigtrap() 268 sigaction(SIGTRAP, &oldact, NULL); in test__sigtrap()
|
/linux/security/apparmor/include/ |
H A D | sig_names.h | 18 [SIGTRAP] = 5, /* -, 5, - */
|
/linux/arch/parisc/include/uapi/asm/ |
H A D | signal.h | 9 #define SIGTRAP 5 macro
|
/linux/arch/m68k/include/uapi/asm/ |
H A D | signal.h | 22 #define SIGTRAP 5 macro
|