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.



/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to