check_task_capable

Function check_task_capable 

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

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