Module cmdline

Module cmdline 

Source
Expand description

Kernel command line parsing and manipulation.

This module provides utilities for parsing and generating kernel command line arguments, with specific support for composefs parameters. It handles the kernel’s simple quoting mechanism and provides functions to extract and create composefs= arguments with optional insecure mode indicators.

Functions§

get_cmdline_composefs
Extracts and parses the composefs= parameter from a kernel command line.
get_cmdline_value
Gets the value of an entry from the kernel cmdline.
make_cmdline_composefs
Creates a composefs= kernel command line argument.
split_cmdline 🔒
Perform kernel command line splitting.