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 runtime/14555] New: tolerate /proc/sys/kernel/kptr_restrict=2


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.


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