I have no objection to this but I don't think the System-V setpgrp() API belongs in compat-43. We can just move it to gen/setpgrp.c.
Like Ted says, we should ready the source tree first by using
setpgid(). However, all the uses of setpgrp() in the tree are the
equivalent of:
setpgrp(0, getpid());
which could be replaced more simply by:
setpgid(0, 0);
- todd
