public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/11274] New: stap-client doesn't understand "--"
@ 2010-02-12  1:08 jistone at redhat dot com
  2010-03-09 21:16 ` [Bug translator/11274] " brolley at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: jistone at redhat dot com @ 2010-02-12  1:08 UTC (permalink / raw)
  To: systemtap

Using getopt, "--" is a special argument that stops further processing. 
However, stap-client appears not to handle this, so it can be tricked into doing
things that it shouldn't.


$ stap-client -l syscall.open* -- -p5
syscall.open
syscall.openat
ERROR: Unable to canonicalize path "stap_8052.ko": No such file or directory
Retrying, after attempted removal of module stap_8052 (rc -1)
ERROR: Unable to canonicalize path "stap_8052.ko": No such file or directory

(staprun can't load a module we didn't actually build)


$ stap-client -l syscall.open* -- -rfoo
/usr/local/bin/stap-client: ERROR: Unable to connect to a server

(no server on my network claims to build for kernel foo)


AFAICT the server side correctly ignores these, so this is only an issue of what
is attempted locally.

-- 
           Summary: stap-client doesn't understand "--"
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jistone at redhat dot com


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

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

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

* [Bug translator/11274] stap-client doesn't understand "--"
  2010-02-12  1:08 [Bug translator/11274] New: stap-client doesn't understand "--" jistone at redhat dot com
@ 2010-03-09 21:16 ` brolley at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: brolley at redhat dot com @ 2010-03-09 21:16 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |brolley at redhat dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED


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

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

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

end of thread, other threads:[~2010-03-09 21:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-12  1:08 [Bug translator/11274] New: stap-client doesn't understand "--" jistone at redhat dot com
2010-03-09 21:16 ` [Bug translator/11274] " brolley 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).