pub fn ambient_set_supported() -> Result<(), CapsError>
Expand description
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.