diff options
author | Thomas Bächler <thomas@archlinux.org> | 2011-04-10 21:34:55 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-04-10 21:34:55 +0200 |
commit | d1264eb145c0aa0adc219dfb71fa5d7acc4e26ff (patch) | |
tree | 33e159fd17816b6237a9647044f54301b52f361c /01-memdisk.rules | |
parent | 9fcd9c15d1d8c4542896da6cc0b6a75d43781fd3 (diff) | |
download | mkinitcpio-d1264eb145c0aa0adc219dfb71fa5d7acc4e26ff.tar.gz mkinitcpio-d1264eb145c0aa0adc219dfb71fa5d7acc4e26ff.tar.xz |
Fix problems in parsing the kernel command line
The kernel command line allows quoted strings with whitespace in them. Until now,
such parameters would crash /init and cause a kernel panic.
Move parsing into a function and use the 'set' builtin to split /proc/cmdline
into arguments.
Fixes FS#13900 and FS#22080.
Diffstat (limited to '01-memdisk.rules')
0 files changed, 0 insertions, 0 deletions