[Bug tapsets/13693] New: make probefunc unprivileged

fche at redhat dot com sourceware-bugzilla@sourceware.org
Wed Feb 15 11:49:00 GMT 2012


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

             Bug #: 13693
           Summary: make probefunc unprivileged
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap@sourceware.org
        ReportedBy: fche@redhat.com
    Classification: Unclassified


probefunc/probemod have had a funny history as to where they try to get
function name strings from.  The probe-point-parsing variant is depended
upon from the para-callgraph* examples, and that part could be well enough
unprivileged.  Other usages dip into the equivalent symdata(), which is
(rightfully?) privileged.

We should not so intermingle these.  We could deprecate the privileged
parts of probefunc(), so that in 1.8+, unprivileged scripts can use it
(for probe-point-parsing only, or some cleaner equivalent).  Or we could
write a new function to do only that, and adjust sample scripts.

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