]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod-config: Only match dot before '=' in /proc/cmdline
authorMichal Marek <mmarek@suse.cz>
Wed, 5 Mar 2014 12:27:41 +0000 (13:27 +0100)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 5 Mar 2014 15:30:52 +0000 (12:30 -0300)
commitaa878540e6f3825cd5cc86d0771e203a6da6231a
tree5839fa4093ee4fbbbb30afc1fbdad44f24d2f08d
parent519d27de5a209e3b64453e982feb6882ffd839c8
libkmod-config: Only match dot before '=' in /proc/cmdline

Otherwise, we also parse strings like

  BOOT_IMAGE=/boot/vmlinuz-3.12.12-57.g5f654cf-default

In practice, this is not a problem, because there is no module named
BOOT_IMAGE=/boot/vmlinuz-3. It just disturbs in modprobe -c output.
libkmod/libkmod-config.c