Doh! Stupid Programming Mistakes <humor>

Nicholas Leippe nick at
Thu Oct 19 13:43:16 MDT 2006

On Thursday 19 October 2006 13:09, Alex Esplin wrote:
> So when the child process finishes with whatever command the user
> entered does it then have a mechanism for killing itself off to avoid
> a slower version of a fork bomb?

There is no risk in a fork() bomb if it is not called in a loop.  When a shell 
executes it only calls fork() once.  The child process simply exit()s when it 
is done.

More information about the PLUG mailing list