MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / linux_kernel_config_item_is_enabled

Function linux_kernel_config_item_is_enabled

tests/process/prctl.rs:236–239  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

234
235#[cfg(feature = "system")]
236fn linux_kernel_config_item_is_enabled(name: &str) -> io::Result<bool> {
237 let config = load_linux_kernel_config()?;
238 is_linux_kernel_config_item_enabled(&config, name)
239}