Lines Matching refs:SIGTRAP
146 WSTOPSIG(status) == SIGTRAP, this may be a different kind of
246 WIFSTOPPED(status) == true, WSTOPSIG(status) == SIGTRAP. Additional bit
248 will be (SIGTRAP | PTRACE_EVENT_foo << 8). The following events exist:
275 PTRACE_GETSIGINFO on PTRACE_EVENT stops returns si_signo = SIGTRAP,
276 si_code = (event << 8) | SIGTRAP.
294 SIGTRAP. If PTRACE_O_TRACESYSGOOD option was set by tracer, then
295 WSTOPSIG(status) == (SIGTRAP | 0x80).
298 SIGTRAP by querying PTRACE_GETSIGINFO: si_code <= 0 if sent by usual
300 kernel, whereas syscall-stops have si_code = SIGTRAP or (SIGTRAP |
306 For example, on x86 rax = -ENOSYS in syscall-enter-stop. Since SIGTRAP
308 at this point rax almost never contains -ENOSYS, SIGTRAP looks like
326 PTRACE_GETSIGINFO on syscall-stops returns si_signo = SIGTRAP, si_code
327 = SIGTRAP or (SIGTRAP | 0x80).
488 tracee, kernel delivers an extra SIGTRAP to tracee after execve syscall
495 post-execve SIGTRAP signal to the user, and would suppress its delivery
496 to the tracee (if SIGTRAP is set to SIG_DFL, it is a killing signal).
497 However, determining *which* SIGTRAP to suppress is not easy. Setting
498 PTRACE_O_TRACEEXEC option and thus suppressing this extra SIGTRAP is