//! Detect kernel features at runtime.
//!
//! This module exposes methods to perform detection of kernel
//! features at runtime. This allows applications to auto-detect
//! whether recent options are implemented by the currently
//! running kernel.
use ;
use *;
/// Check whether the running kernel supports the ambient set.
///
/// Ambient set was introduced in Linux kernel 4.3. On recent kernels
/// where the ambient set is supported, this will return `Ok`.
/// On a legacy kernel, an `Err` is returned instead.
/// Return an `HashSet` with all capabilities supported by the running kernel.