This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug uprobes/6852] New: unregister_uprobe: handle unmapped probepoint
- From: "jkenisto at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 22 Aug 2008 01:25:00 -0000
- Subject: [Bug uprobes/6852] New: unregister_uprobe: handle unmapped probepoint
- Reply-to: sourceware-bugzilla at sourceware dot org
If the page containing a probepoint has been unmapped, unregister_uprobe()
should refrain from trying to replace the bkpt with the original opcode. I
think it's sufficient just to call uprobe_validate_vaddr() and act accordingly.
I'll attach a patch to that effect, but I haven't figured out a good way to
test it (something with dlclose(), perhaps).
--
Summary: unregister_uprobe: handle unmapped probepoint
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P1
Component: uprobes
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jkenisto at us dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6852
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.