pub fn check_getsched_access( source: &CurrentTask, target: &Task, ) -> Result<(), Errno>
Checks if source may exercise the “getsched” permission on target. Corresponds to the task_getscheduler() LSM hook.
source
target
task_getscheduler()