Xref: utzoo comp.unix.admin:1210 comp.unix.internals:2335 comp.unix.programmer:1314 Path: utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!bywater!uunet!bria!mike Newsgroups: comp.unix.admin,comp.unix.internals,comp.unix.programmer Subject: Re: How do you make your UNIX crash ??? Message-ID: <513@bria> Date: 11 Mar 91 15:33:28 GMT References: <690@tndsyd.oz.au> Reply-To: uunet!bria!mike Followup-To: comp.unix.admin Organization: MGI Group International, Los Angeles, CA Lines: 23 Followup-To: Keywords: In an article, tndsyd.oz.au!berny (Berny Goodheart) writes: >I am interested in finding out known ways to make your version of UNIX >crash. main() { int fd; long now; time(&now); if ( (fd = open("/dev/kmem",O_RDWR)) == -1 ) return(1); while ( write(fd,&now,sizeof(long)) == sizeof(long) ) ; close(fd); return(0); } -- Michael Stefanik, MGI Inc., Los Angeles| Opinions stated are not even my own. Title of the week: Systems Engineer | UUCP: ...!uunet!bria!mike ------------------------------------------------------------------------------- Remember folks: If you can't flame MS-DOS, then what _can_ you flame?