Subject: Re: increasing a process's max data size
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Brett Lymn <blymn@baesystems.com.au>
List: tech-kern
Date: 09/09/2003 09:54:29
On Mon, Sep 08, 2003 at 02:20:34AM -0400, der Mouse wrote:
> > Any userland program that is able to produce a kernel panic mean
> > there is a kernel bug - no ifs no buts - userland must not be able to
> > crash the kernel no matter what.
> 
> dd if=/dev/zero of=/dev/mem
> 

Specious.  As others have observed you need to be root to do that.
Squid, even if it is started by root, switches it's user id to a
configurable one fairly early on, in fact, if you are using the
default squid tcp/ip port then you don't need to be root to start it.
Normally squid runs as the id nobody - that userid being able to cause
a kernel panic then there is a problem.

-- 
Brett Lymn