This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug uprobes/6828] uprobe presence interferes with dd signal handling


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]