pub fn check_setcap_access( source: &CurrentTask, target: &Task, ) -> Result<(), Errno>
Called when the current task attempts to set the Linux capabilities of the target task. Corresponds to the capset() LSM hook.
target
capset()