Re: [PATCH] param: fixup quote parsing of kernel arguments

2015-04-14 Thread Rusty Russell
Arthur Gautier writes: > On Wed, Apr 08, 2015 at 03:29:43PM +0930, Rusty Russell wrote: >> Arthur Gautier writes: >> > When starting kernel with arguments like: >> > init=/bin/sh -c "echo arguments" >> > the trailing double quote is not removed which results in following command >> > being exec

Re: [PATCH] param: fixup quote parsing of kernel arguments

2015-04-08 Thread Arthur Gautier
On Wed, Apr 08, 2015 at 03:29:43PM +0930, Rusty Russell wrote: > Arthur Gautier writes: > > When starting kernel with arguments like: > > init=/bin/sh -c "echo arguments" > > the trailing double quote is not removed which results in following command > > being executed: > > /bin/sh -c 'echo ar

Re: [PATCH] param: fixup quote parsing of kernel arguments

2015-04-07 Thread Rusty Russell
Arthur Gautier writes: > When starting kernel with arguments like: > init=/bin/sh -c "echo arguments" > the trailing double quote is not removed which results in following command > being executed: > /bin/sh -c 'echo arguments"' > > This commit removes the trailing double quote. > > Signed-off

[PATCH] param: fixup quote parsing of kernel arguments

2015-04-07 Thread Arthur Gautier
When starting kernel with arguments like: init=/bin/sh -c "echo arguments" the trailing double quote is not removed which results in following command being executed: /bin/sh -c 'echo arguments"' This commit removes the trailing double quote. Signed-off-by: Arthur Gautier --- kernel/params.