Re: crash by high values in /proc/sys/net/core/[rw]mem_*

Rik van Riel (riel@nl.linux.org)
Wed, 3 Feb 1999 18:02:40 +0100 (CET)


On Wed, 3 Feb 1999, Stefan Traby wrote:

> Linux 2.2.1 oopses after putting (silly) high values
> into /proc/sys/net/core/[rw]mem_{default,max}.
>
> I've tried this and then a
> while(1)
> write(sock, msg, 2<<21);

On a related note, it also crashes when I run:
foolbox:~# dd if=/dev/hda of=/dev/mem

The moral of the story: root shouldn't do stupid things!

Rik -- If a Microsoft product fails, who do you sue?
+-------------------------------------------------------------------+
| Linux Memory Management site: http://humbolt.geo.uu.nl/Linux-MM/ |
| Nederlandse Linux documentatie: http://www.nl.linux.org/ |
+-------------------------------------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/