Skip to main content

check_task_capable_noaudit

Function check_task_capable_noaudit 

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

Checks if a task has the specified capability without generating audit logs. Corresponds to the capable() LSM hook invoked with a no-audit flag set.