[][src]Function caps::runtime::ambient_set_supported

pub fn ambient_set_supported() -> Result<()>

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.