On 2/2/06, Per Jessen <per@computer.org> wrote:
Steve Graegert wrote:
A fork bomb like this:
#include <stdio.h>
int main(void) { while (1) fork(); return (0); }
will do not more than slowing down a system but it will not lock it.
I just ran the above via a remote konsole, and my 2-way machine certainly _appears_ to be locked up. I'll have to make my way to the computer-room to check out the local console.
Sorry, to hear that. I've used this code for years in trainings on a couple of platforms. Never tried that on an Intel box running Linux prior to 2.6. Can hardly believe that 2.4 can be compromised that easily :- \Steve -- Steve Graegert <graegerts@gmail.com> Software Consultant {C/C++ && Java && .NET} Office: +49 9131 7123988 Mobile: +49 1520 9289212