This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug uprobes/10595] uprobe probes causes selinux failures
- From: "jkenisto at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 4 Sep 2009 17:11:27 -0000
- Subject: [Bug uprobes/10595] uprobe probes causes selinux failures
- References: <20090903122458.10595.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jkenisto at us dot ibm dot com 2009-09-04 17:11 -------
(In reply to comment #5)
> Created an attachment (id=4170)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4170&action=view)
> ssol-vma-selinux patch using shmem_file_setup
At this point
if (addr & ~PAGE_MASK) {
addr will be undefined if shmem_file_setup() returned NULL. So...
if (!file || (addr & ~PAGE_MASK)) {
>
> This is the patch that seems to work fine for me. I added some comments and
> some error messages in case something fails. This is against uprobes2, I assume
> uprobes1 needs a similar fix. Is the systemtap version where these should go,
> or is there another upstream for uprobes now?
Yes, runtime/uprobes/uprobes.c and ubp_xol.c (?) in the ubp-based uprobes bits.
Thanks, mjw. Srikar, are you going to take it from here?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10595
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.