[Bug runtime/14555] New: tolerate /proc/sys/kernel/kptr_restrict=2

fche at redhat dot com sourceware-bugzilla@sourceware.org
Fri Sep 7 16:45:00 GMT 2012


http://sourceware.org/bugzilla/show_bug.cgi?id=14555

             Bug #: 14555
           Summary: tolerate /proc/sys/kernel/kptr_restrict=2
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap@sourceware.org
        ReportedBy: fche@redhat.com
    Classification: Unclassified


It was reported that staprun's search for _stext is frustrated by
/proc/sys/kernel/kptr_restrict = 2, which leads to kernel kprobes to being
unrelocatable and thus un-emplaceable.

We should do better.  staprun could detect & change that flag temporarily.  The
runtime could attempt to use kallsyms_lookup to find _stext self-sufficiently.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Systemtap mailing list