Searched refs:SIGTRAP (Results 1 - 25 of 110) sorted by relevance

12345

/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-sigreturn-nt.c40 sigaction(SIGTRAP, &trap_sa, NULL);
42 raise(SIGTRAP);
/linux-master/arch/arm64/include/asm/
H A Dsignal.h18 if (sig == SIGTRAP && si_code == TRAP_BRKPT)
/linux-master/security/apparmor/include/
H A Dsig_names.h18 [SIGTRAP] = 5, /* -, 5, - */
/linux-master/arch/sh/kernel/
H A Dtraps.c141 SIGTRAP) == NOTIFY_STOP)
144 force_sig(SIGTRAP);
158 SIGTRAP) == NOTIFY_STOP)
170 force_sig(SIGTRAP);
/linux-master/arch/parisc/include/uapi/asm/
H A Dsignal.h9 #define SIGTRAP 5 macro
/linux-master/arch/m68k/include/uapi/asm/
H A Dsignal.h22 #define SIGTRAP 5 macro
/linux-master/tools/testing/selftests/x86/
H A Dsyscall_nt.c70 sethandler(SIGTRAP, sigtrap, 0);
H A Dsingle_step_syscall.c94 [SIGTRAP] = "SIGTRAP",
116 printf("[FAIL]\tNo SIGTRAP\n");
139 printf("[FAIL]\tGot SIGTRAP\n");
151 sethandler(SIGTRAP, sigtrap, 0);
/linux-master/arch/mips/include/uapi/asm/
H A Dsignal.h29 #define SIGTRAP 5 /* Trace trap (POSIX). */ macro
/linux-master/arch/s390/include/uapi/asm/
H A Dsignal.h30 #define SIGTRAP 5 macro
/linux-master/arch/alpha/include/uapi/asm/
H A Dsignal.h27 #define SIGTRAP 5 macro
/linux-master/arch/xtensa/include/uapi/asm/
H A Dsignal.h39 #define SIGTRAP 5 macro
/linux-master/arch/arm/include/uapi/asm/
H A Dsignal.h22 #define SIGTRAP 5 macro
/linux-master/include/uapi/asm-generic/
H A Dsignal.h15 #define SIGTRAP 5 macro
/linux-master/arch/powerpc/include/uapi/asm/
H A Dsignal.h25 #define SIGTRAP 5 macro
/linux-master/arch/x86/include/uapi/asm/
H A Dsignal.h26 #define SIGTRAP 5 macro
/linux-master/include/linux/
H A Dptrace.h151 ptrace_notify((event << 8) | SIGTRAP, message);
153 /* legacy EXEC report via SIGTRAP */
155 send_sig(SIGTRAP, current, 0);
345 info.si_signo = SIGTRAP;
415 signr = ptrace_notify(SIGTRAP | ((ptrace & PT_TRACESYSGOOD) ? 0x80 : 0),
421 * stopping signal is not SIGTRAP. -brl
/linux-master/kernel/debug/kdb/
H A Dkdb_debugger.c72 if (ks->err_code == KDB_REASON_SYSTEM_NMI && ks->signo == SIGTRAP)
110 ks->signo == SIGTRAP) {
/linux-master/arch/csky/kernel/
H A Dasm-offsets.c80 DEFINE(SIGTRAP, SIGTRAP);
/linux-master/arch/arc/kernel/
H A Dtraps.c73 DO_ERROR_INFO(SIGTRAP, "Breakpoint Set", trap_is_brkpt, TRAP_BRKPT)
/linux-master/arch/s390/kernel/
H A Dtraps.c75 if (notify_die(DIE_SSTEP, "sstep", regs, 0, 0, SIGTRAP) == NOTIFY_STOP)
79 force_sig_fault(SIGTRAP, TRAP_HWBKPT,
166 force_sig_fault(SIGTRAP, TRAP_BRKPT, location);
183 3, SIGTRAP) != NOTIFY_STOP)
/linux-master/tools/testing/selftests/perf_events/
H A Dremove_on_exec.c86 ASSERT_EQ(sigaction(SIGTRAP, &action, &self->oldact), 0);
96 sigaction(SIGTRAP, &self->oldact, NULL);
187 * a SIGTRAP is sent before the handler was set up.
238 if (sigaction(SIGTRAP, &action, NULL))
/linux-master/arch/arm64/kernel/
H A Dkgdb.c239 kgdb_handle_exception(1, SIGTRAP, 0, regs);
247 kgdb_handle_exception(1, SIGTRAP, 0, regs);
258 kgdb_handle_exception(0, SIGTRAP, 0, regs);
/linux-master/arch/um/os-Linux/
H A Dstart_up.c151 (WSTOPSIG(status) == (SIGTRAP|0x80))) {
164 else if (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGTRAP))
167 non_fatal("check_sysemu: expected SIGTRAP or "
168 "(SIGTRAP | 0x80), got status = %d\n",
204 (WSTOPSIG(status) != (SIGTRAP | 0x80)))
205 fatal("check_ptrace : expected (SIGTRAP|0x80), "
/linux-master/arch/um/os-Linux/skas/
H A Dprocess.c105 #define STUB_DONE_MASK (1 << SIGTRAP)
135 printk(UM_KERN_ERR "%s : failed to wait for SIGTRAP, pid = %d, n = %d, errno = %d, status = 0x%x\n",
412 case SIGTRAP:
431 case SIGTRAP + 0x80:
434 case SIGTRAP:
435 relay_signal(SIGTRAP, (struct siginfo *)&si, regs);

Completed in 225 milliseconds

12345