pub fn check_task_getsid( source: &CurrentTask, target: &Task, ) -> Result<(), Errno>
Called when the current task queries the session Id of the target task. Corresponds to the task_getsid() LSM hook.
target
task_getsid()