pub(crate) fn split_cmdline(cmdline: &str) -> impl Iterator<Item = &str>Expand description
Perform kernel command line splitting.
The way this works in the kernel is to split on whitespace with an extremely simple quoting mechanism: whitespace inside of double quotes is literal, but there is no escaping mechanism. That means that having a literal double quote in the cmdline is effectively impossible.