Subject: Re: Fork bomb protection patch
To: None <tech-kern@netbsd.org>
From: Joachim Thiemann <joachim@tsp.ece.mcgill.ca>
List: tech-kern
Date: 12/05/2002 22:21:52
On Thu, 2002-12-05 at 21:15, der Mouse wrote:
> I once pondered how to build an `unkillable' wabbit.  Of course,
> ultimately, there is no such thing.  But I was trying to invent
> something that would require a sledgehammer like dropping to ddb to
> deal with.  I've never actually tried any of the ideas out, but it
> might be an amusing exercise on a scratch machine.  In particular,
> there has to be something to deal with the approach of hitting them
> with SIGSTOP to make them stop forking so you can kill them....

Does this count?  Back when I was still cutting my teeth on this *nix
stuff, I wrote a piece of code (under Coherent 386, no less) that would
fork, then detatch, kill the parent...  ie cycle through the PID's
reeeeealy fast.  Couldn't be killed by hand, anyways, though a special
hunt-kill piece of code could probably do it... 

Joe.
PS. You back in Mtl yet?