From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18225 invoked by alias); 19 Mar 2010 02:19:21 -0000 Received: (qmail 18195 invoked by uid 48); 19 Mar 2010 02:19:09 -0000 Date: Fri, 19 Mar 2010 02:19:00 -0000 Message-ID: <20100319021909.18194.qmail@sourceware.org> From: "wenji dot huang at oracle dot com" To: systemtap@sources.redhat.com In-Reply-To: <20100225211044.11325.chwang@redhat.com> References: <20100225211044.11325.chwang@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/11325] Spaces and exclamation marks invalid as module arguments 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/msg00710.txt.bz2 ------- Additional Comments From wenji dot huang at oracle dot com 2010-03-19 02:19 ------- (In reply to comment #2) > I suspect we'll need some additional quoting to do the job right > (consider options[i] itself containing \" or other special chars.) > Same idea occurred to me. But I found the track of parameter is argv -> modoptions -> options The quoting will be removed in argv. For example, $staprun mod1.ko var1="hello foo" argv[N] : var1=hello foo modoptions: var1=hello foo options: var1=hello foo So init_module regards foo as parameter and reports error. Guess we need reorganize the passing way of parameter to completely resolve the problem. Seems the above patch can be temporary workaround. -- http://sourceware.org/bugzilla/show_bug.cgi?id=11325 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.