Morgan Wajda-Levie on Thu, 19 Aug 1999 23:36:43 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [Plug] Crashing Linux


On Thu, Aug 19, 1999 at 07:21:51PM -0700, Nick R wrote:
> My programming prof started talking about stack overflows today in class and 
> I commented that you probably couldn't do that in Linux, that it would just 
> shut down the program. Well I telnetted into my box at home and tried it out 
> for him. Sure enough I got a segmentation fault and the program exited, 
> leaving my computer up and running sans problems. It got me thinking. What 
> does it actually take to crash a Linux box? I'd assume you wouldn't be able 
> to just write to memory in kernel space or something like you could in W95 
> and the like. Short of modifying the kernel code what does it take to crash 
> a Linux box & is there any way to do this w/o root access?

This is a bit of a cheap trick, but a friend of mine crashed his box
by accidentally unplugging his mounted Win95 drive.  He was able to
write a file, but when he ran make it segfaulted, and then logging out
of X hung it.

-- 
Morgan Wajda-Levie
http://www.worldaxes.com/wajdalev
PGP fingerprint:
A353 C750 660E D8B6 5616  F4D8 7771 DD21 7BF6 221C
http://www.worldaxes.com/wajdalev/public.asc for PGP key
encrypted mail preferred

Attachment: pgpdpKmJDLXrr.pgp
Description: PGP signature