public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "jistone at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug tapsets/18598] staprun markers don't exist
Date: Thu, 25 Jun 2015 17:15:00 -0000	[thread overview]
Message-ID: <bug-18598-6586-2gL085WcsP@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-18598-6586@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=18598

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jistone at redhat dot com

--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
The more direct way to check existence is "readelf -n", and this is revealing:

$ readelf -n /usr/local/bin/staprun
readelf: Error: Input file '/usr/local/bin/staprun' is not readable.

That's because staprun has mode 4110 (suid|xusr|xgrp).  Nobody has read
permission, which effectively means only root can read it.

Although you wrote a '#' before your commands, which usually indicates a root
prompt... Is that so, or were you running as a user?

$ sudo readelf -n /usr/local/bin/staprun
[...]
Displaying notes found at file offset 0x0002ba98 with length 0x000001f4:
  Owner                 Data size       Description
  stapsdt              0x00000036       NT_STAPSDT (SystemTap probe
descriptors)
    Provider: staprun
    Name: remove__module
    Location: 0x000000000040856e, Base: 0x0000000000427358, Semaphore:
0x0000000000000000
    Arguments: 8@%rbx
  stapsdt              0x00000036       NT_STAPSDT (SystemTap probe
descriptors)
    Provider: staprun
    Name: insert__module
    Location: 0x000000000040aa18, Base: 0x0000000000427358, Semaphore:
0x0000000000000000
    Arguments: 8@%r12
[etc]

-- 
You are receiving this mail because:
You are the assignee for the bug.

  reply	other threads:[~2015-06-25 17:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-25 15:23 [Bug tapsets/18598] New: " dsmith at redhat dot com
2015-06-25 17:15 ` jistone at redhat dot com [this message]
2015-06-25 17:42 ` [Bug tapsets/18598] stap_staticmarkers.stp tapset has no test case dsmith at redhat dot com
2015-06-25 17:42 ` [Bug tapsets/18598] staprun markers don't exist dsmith at redhat dot com
2015-06-25 18:01 ` [Bug tapsets/18598] stap_staticmarkers.stp tapset has no test case dsmith at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-18598-6586-2gL085WcsP@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).