Re: setpgid(0,getppid());

2014-04-24 Thread Otto Moerbeek
On Thu, Apr 24, 2014 at 11:23:41AM -0400, sven falempin wrote: > Dear OpenBSD misc reader, > > I am a bit lost in all the manpages related to process id and parent and > group > reading the fork manpage, I do not read the child group id is set. > > Is it a good practice to set the group id

setpgid(0,getppid());

2014-04-24 Thread sven falempin
Dear OpenBSD misc reader, I am a bit lost in all the manpages related to process id and parent and group reading the fork manpage, I do not read the child group id is set. Is it a good practice to set the group id to the parent process id, thus allowing a 'kill -ppid' command to kill all for