kern_getsid
return (kern_getsid(td, args->pid));
return (kern_getsid(td, uap->pid));
int kern_getsid(struct thread *td, pid_t pid);