modprobe: handle module arguments containing spaces
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 9 Sep 2015 12:55:07 +0000 (14:55 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 9 Sep 2015 12:55:07 +0000 (14:55 +0200)
commit875297378cdbebb1278a4595f9fffffca3fc2303
tree2a37162c352ee7e7cbd5f9291714e022b4088474
parentca25af9b06b0c3ded77ac70087227896b34003c4
modprobe: handle module arguments containing spaces

Modprobe wasn't correctly parsing module arguments containing spaces from
/proc/cmdline - E.G. module.property="some text".

Extend the parsing to correctly handle quoted text.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
modutils/modprobe.c