From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4610 invoked by alias); 12 Feb 2010 01:08:43 -0000 Received: (qmail 4530 invoked by uid 48); 12 Feb 2010 01:08:30 -0000 Date: Fri, 12 Feb 2010 01:08:00 -0000 From: "jistone at redhat dot com" To: systemtap@sources.redhat.com Message-ID: <20100212010830.11274.jistone@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/11274] New: stap-client doesn't understand "--" X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2010-q1/txt/msg00380.txt.bz2 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.