[Bug 162774] strace ignores int3 SIGTRAP

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 10 16:41:02 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=162774





--- Comment #9 from Denys Vlasenko <dvlasenk at redhat.com>  2008-09-10 12:41:01 EDT ---
FYI: SIGTRAP after execve is generated by kernel here:
include/linux/tracehook.h

static inline void tracehook_report_exec(struct linux_binfmt *fmt,
                                         struct linux_binprm *bprm,
                                         struct pt_regs *regs)
{
        if (!ptrace_event(PT_TRACE_EXEC, PTRACE_EVENT_EXEC, 0) &&
            unlikely(task_ptrace(current) & PT_PTRACED))
                send_sig(SIGTRAP, current, 0);
}

(found in http://lkml.org/lkml/2008/9/8/424 post)

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the fedora-triage-list mailing list