public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/14555] New: tolerate /proc/sys/kernel/kptr_restrict=2
@ 2012-09-07 16:45 fche at redhat dot com
  2012-09-10  7:20 ` [Bug runtime/14555] " dragos.tatulea at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: fche at redhat dot com @ 2012-09-07 16:45 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug runtime/14555] tolerate /proc/sys/kernel/kptr_restrict=2
  2012-09-07 16:45 [Bug runtime/14555] New: tolerate /proc/sys/kernel/kptr_restrict=2 fche at redhat dot com
@ 2012-09-10  7:20 ` dragos.tatulea at gmail dot com
  2012-10-10 12:47 ` alexander.lochmann@tu-dortmund.de
  2012-10-10 16:45 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dragos.tatulea at gmail dot com @ 2012-09-10  7:20 UTC (permalink / raw)
  To: systemtap

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

Dragos Tatulea <dragos.tatulea at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dragos.tatulea at gmail dot
                   |                            |com

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug runtime/14555] tolerate /proc/sys/kernel/kptr_restrict=2
  2012-09-07 16:45 [Bug runtime/14555] New: tolerate /proc/sys/kernel/kptr_restrict=2 fche at redhat dot com
  2012-09-10  7:20 ` [Bug runtime/14555] " dragos.tatulea at gmail dot com
@ 2012-10-10 12:47 ` alexander.lochmann@tu-dortmund.de
  2012-10-10 16:45 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: alexander.lochmann@tu-dortmund.de @ 2012-10-10 12:47 UTC (permalink / raw)
  To: systemtap


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

--- Comment #1 from Alex Lochmann <alexander.lochmann@tu-dortmund.de> 2012-10-10 12:47:31 UTC ---
Created attachment 6680
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6680
patch

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug runtime/14555] tolerate /proc/sys/kernel/kptr_restrict=2
  2012-09-07 16:45 [Bug runtime/14555] New: tolerate /proc/sys/kernel/kptr_restrict=2 fche at redhat dot com
  2012-09-10  7:20 ` [Bug runtime/14555] " dragos.tatulea at gmail dot com
  2012-10-10 12:47 ` alexander.lochmann@tu-dortmund.de
@ 2012-10-10 16:45 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2012-10-10 16:45 UTC (permalink / raw)
  To: systemtap


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

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Frank Ch. Eigler <fche at redhat dot com> 2012-10-10 16:44:57 UTC ---
merged, and tweaked, thanks!

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-10 16:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-07 16:45 [Bug runtime/14555] New: tolerate /proc/sys/kernel/kptr_restrict=2 fche at redhat dot com
2012-09-10  7:20 ` [Bug runtime/14555] " dragos.tatulea at gmail dot com
2012-10-10 12:47 ` alexander.lochmann@tu-dortmund.de
2012-10-10 16:45 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).