This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/11325] Spaces and exclamation marks invalid as module arguments


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]