This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug uprobes/6828] uprobe presence interferes with dd signal handling
- From: "roland at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 22 Aug 2008 01:59:56 -0000
- Subject: [Bug uprobes/6828] uprobe presence interferes with dd signal handling
- References: <20080810204927.6828.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From roland at gnu dot org 2008-08-22 01:59 -------
Inserting this code into a report_signal callback works around the bug:
if ((action == UTRACE_SIGNAL_DELIVER ||
action == UTRACE_ACTION_RESUME) &&
(return_ka->sa.sa_flags & SA_ONESHOT)) {
return_ka->sa.sa_flags &= ~SA_ONESHOT;
((struct k_sigaction *) orig_ka)->sa.sa_handler = SIG_DFL;
}
Current utrace code (Fedora rahwide) does not have this bug.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6828
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.