pub fn check_getpgid_access( source: &CurrentTask, target: &Task, ) -> Result<(), Errno>
Checks if getpgid is allowed. Corresponds to the task_getpgid() LSM hook.
task_getpgid()