Subject: Re: Is this kernel fault OK?
To: None <tech-kern@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 06/27/2003 02:31:25
>> I once tried to define what it is about things like
>> 	dd if=/dev/zero of=/dev/mem
>> that exempt them from the "userland should never be able to crash the
>> kernel" dictum.  I never really got anywhere.  Any thoughts?
> The superuser has the same level of authority as the kernel, maybe a
> fraction more.  Hence the superuser can crash the kernel.  The
> "dictum" merely does not apply to "root".

What if /dev/mem is mode 666?  I didn't say root ran that command.

Why is it then unacceptable for, say, syslogd provoke a panic, even if
it's running as root?  Or is that fine, not an indication of a bug?

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B