Skip to main content

check_creds_capable

Function check_creds_capable 

Source
pub fn check_creds_capable(
    current_task: &CurrentTask,
    creds: &Credentials,
    capability: Capabilities,
) -> Result<(), Errno>
Expand description

Checks if a task has the specified capability. Corresponds to the capable() LSM hook.