Re: a nice way to reboot :-)

From: Matthew Wilcox <willy_at_debian.org>
Date: 2003-07-24 22:55:50
On Thu, Jul 24, 2003 at 02:30:51PM +0200, Bruno Cornec wrote:
> Well in general yes, but at least on i386 (I can't test on something else)
> doing cat /proc/kcore doesn't crash the system. And BTW why should it ?
> There is nothing wrong with it (for ex. I used it a lot of times to try
> to find a BIOS revision on i386).

you should be using gdb on /proc/kcore; nothing else.

> I just wonder if this could be used as a DOS from outside the system. In
> which case, it would be a Bad Thing (tm :-)

$ ls -l /proc/kcore 
-r--------    1 root     root     167776256 2003-07-24 08:46 /proc/kcore

and if they're root, you're already fucked.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Jul 24 08:55:56 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:16 EST