@shijitht

July 31, 2010

Fork BOMB

Filed under: C — Tags: — shijitht @ 10:40 am

This bomb can take down system in seconds, causing unintended denial of service attack in our labs(mainly system lab). 🙂
We can avoid this by programming carefully and using sleep().
The fire powder is
while(1) {
fork();
}

Advertisements

2 Comments »

  1. I remember the day u described the working of fork system call and about this BOMB….

    Comment by Shruthi V — August 1, 2010 @ 10:01 pm

  2. nice pic…

    Comment by Shruthi V — August 1, 2010 @ 10:04 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: