enterthispgrp
error = enterthispgrp(targp, pgrp);
int enterthispgrp(struct proc *p, struct pgrp *pgrp);