[!CrackMonkey!] Fwd: fork() DoS?
Sean Neakums
sneakums at zork.net
Fri Mar 22 07:30:57 PST 2002
Awwww, how cute. Little Johnny made his first forkbomb!
-------------------- Start of forwarded message --------------------
From: "Little, John" <JOHN.LITTLE at okdhs.org>
To: "'linux-kernel at vger.kernel.org'" <linux-kernel at vger.kernel.org>
Subject: fork() DoS?
Date: Fri, 22 Mar 2002 09:16:00 -0600
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();
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
-------------------- End of forwarded message --------------------
--
"Forfiku vin, trolo!"
-- Mr. Bad
More information about the Crackmonkey
mailing list