/linux-5.19.10/arch/sh/kernel/ |
D | traps.c | 141 SIGTRAP) == NOTIFY_STOP) in BUILD_TRAP_HANDLER() 144 force_sig(SIGTRAP); in BUILD_TRAP_HANDLER() 158 SIGTRAP) == NOTIFY_STOP) in BUILD_TRAP_HANDLER() 170 force_sig(SIGTRAP); in BUILD_TRAP_HANDLER()
|
/linux-5.19.10/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-sigreturn-nt.c | 40 sigaction(SIGTRAP, &trap_sa, NULL); in tm_signal_sigreturn_nt() 42 raise(SIGTRAP); in tm_signal_sigreturn_nt()
|
/linux-5.19.10/include/linux/ |
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() 420 signr = ptrace_notify(SIGTRAP | ((ptrace & PT_TRACESYSGOOD) ? 0x80 : 0), in ptrace_report_syscall()
|
/linux-5.19.10/arch/um/os-Linux/ |
D | start_up.c | 179 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGTRAP)) in check_sysemu() 221 (WSTOPSIG(status) == (SIGTRAP|0x80))) { in check_sysemu() 234 else if (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGTRAP)) in check_sysemu() 279 (WSTOPSIG(status) != (SIGTRAP | 0x80))) in check_ptrace()
|
/linux-5.19.10/tools/testing/selftests/perf_events/ |
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()
|
/linux-5.19.10/arch/loongarch/kernel/ |
D | traps.c | 396 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 402 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 408 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 414 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 420 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 429 force_sig(SIGTRAP); in do_bp() 441 force_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *)regs->csr_era); in do_bp()
|
/linux-5.19.10/arch/ia64/kernel/ |
D | traps.c | 107 if (notify_die(DIE_BREAK, "break 0", regs, break_num, TRAP_BRKPT, SIGTRAP) in ia64_bad_break() 171 if (notify_die(DIE_BREAK, "bad break", regs, break_num, TRAP_BRKPT, SIGTRAP) in ia64_bad_break() 174 sig = SIGTRAP; code = TRAP_BRKPT; in ia64_bad_break() 541 if (notify_die(DIE_FAULT, "ia64_fault", ®s, vector, si_code, SIGTRAP) in ia64_fault() 544 force_sig_fault(SIGTRAP, si_code, (void __user *) ifa, in ia64_fault()
|
D | brl_emu.c | 206 force_sig_fault(SIGTRAP, TRAP_BRANCH, (void __user *)NULL, in ia64_emulate_brl() 213 force_sig_fault(SIGTRAP, TRAP_TRACE, (void __user *)NULL, in ia64_emulate_brl()
|
/linux-5.19.10/arch/um/os-Linux/skas/ |
D | process.c | 105 #define STUB_DONE_MASK (1 << SIGTRAP) 212 (WSTOPSIG(status) != SIGTRAP + 0x80)) { in handle_trap() 460 case SIGTRAP: in userspace() 479 case SIGTRAP + 0x80: in userspace() 482 case SIGTRAP: in userspace() 483 relay_signal(SIGTRAP, (struct siginfo *)&si, regs); in userspace()
|
/linux-5.19.10/arch/s390/kernel/ |
D | traps.c | 73 if (notify_die(DIE_SSTEP, "sstep", regs, 0, 0, SIGTRAP) == NOTIFY_STOP) in do_per_trap() 77 force_sig_fault(SIGTRAP, TRAP_HWBKPT, in do_per_trap() 164 force_sig_fault(SIGTRAP, TRAP_BRKPT, location); in illegal_op() 181 3, SIGTRAP) != NOTIFY_STOP) in illegal_op()
|
/linux-5.19.10/arch/powerpc/kernel/ |
D | traps.c | 104 case SIGTRAP: return "unhandled trap"; in signame() 306 force_sig_fault(SIGTRAP, TRAP_TRACE, (void __user *)regs->nip); in user_single_step_report() 1083 _exception(SIGTRAP, regs, TRAP_UNK, 0); in DEFINE_INTERRUPT_HANDLER() 1091 _exception(SIGTRAP, regs, TRAP_UNK, 0); in DEFINE_INTERRUPT_HANDLER_ASYNC() 1099 _exception(SIGTRAP, regs, TRAP_UNK, 0); in DEFINE_INTERRUPT_HANDLER_NMI() 1107 5, SIGTRAP) == NOTIFY_STOP) in DEFINE_INTERRUPT_HANDLER() 1111 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->nip); in DEFINE_INTERRUPT_HANDLER() 1116 _exception(SIGTRAP, regs, TRAP_UNK, 0); in DEFINE_INTERRUPT_HANDLER() 1128 5, SIGTRAP) == NOTIFY_STOP) in __single_step_exception() 1133 _exception(SIGTRAP, regs, TRAP_TRACE, regs->nip); in __single_step_exception() [all …]
|
/linux-5.19.10/arch/arm64/kernel/ |
D | kgdb.c | 237 kgdb_handle_exception(1, SIGTRAP, 0, regs); in kgdb_brk_fn() 245 kgdb_handle_exception(1, SIGTRAP, 0, regs); in NOKPROBE_SYMBOL() 256 kgdb_handle_exception(0, SIGTRAP, 0, regs); in kgdb_step_brk_fn()
|
D | debug-monitors.c | 237 arm64_force_sig_fault(SIGTRAP, si_code, instruction_pointer(regs), in send_user_sigtrap() 383 hook_debug_fault_code(DBG_ESR_EVT_HWSS, single_step_handler, SIGTRAP, in debug_traps_init() 385 hook_debug_fault_code(DBG_ESR_EVT_BRK, brk_handler, SIGTRAP, in debug_traps_init()
|
/linux-5.19.10/tools/testing/selftests/x86/ |
D | single_step_syscall.c | 94 [SIGTRAP] = "SIGTRAP", 151 sethandler(SIGTRAP, sigtrap, 0); in main()
|
D | fsgsbase.c | 472 raise(SIGTRAP); in test_ptrace_write_gs_read_base() 478 if (WSTOPSIG(status) == SIGTRAP) { in test_ptrace_write_gs_read_base() 532 raise(SIGTRAP); in test_ptrace_write_gsbase() 538 if (WSTOPSIG(status) == SIGTRAP) { in test_ptrace_write_gsbase()
|
D | mov_ss_trap.c | 112 [SIGTRAP] = "SIGTRAP", 154 sethandler(SIGTRAP, sigtrap, 0); in main()
|
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()
|
/linux-5.19.10/kernel/debug/kdb/ |
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-5.19.10/tools/perf/tests/ |
D | sigtrap.c | 135 if (sigaction(SIGTRAP, &action, &oldact)) { in test__sigtrap() 158 sigaction(SIGTRAP, &oldact, NULL); in test__sigtrap()
|
/linux-5.19.10/arch/arm64/include/asm/ |
D | signal.h | 18 if (sig == SIGTRAP && si_code == TRAP_BRKPT) in arch_untagged_si_addr()
|
/linux-5.19.10/arch/csky/kernel/ |
D | asm-offsets.c | 80 DEFINE(SIGTRAP, SIGTRAP); in main()
|
D | traps.c | 179 send_sig(SIGTRAP, current, 0); in do_trap_bkpt() 201 send_sig(SIGTRAP, current, 0); in do_trap_illinsn()
|
/linux-5.19.10/arch/riscv/kernel/ |
D | traps.c | 178 force_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *)regs->epc); in do_trap_break() 180 else if (notify_die(DIE_TRAP, "EBREAK", regs, 0, regs->cause, SIGTRAP) in do_trap_break()
|
/linux-5.19.10/arch/ia64/include/uapi/asm/ |
D | signal.h | 17 #define SIGTRAP 5 macro
|
/linux-5.19.10/security/apparmor/include/ |
D | sig_names.h | 18 [SIGTRAP] = 5, /* -, 5, - */
|