pid/gid mess improved
Merge pull request #2660 from socketpair/pid_gid_mess

pid/gid mess improved