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.
pub fn check_creds_capable(
current_task: &CurrentTask,
creds: &Credentials,
capability: Capabilities,
) -> Result<(), Errno>Checks if a task has the specified capability.
Corresponds to the capable() LSM hook.