Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2002 19:33:34 +1000
From:      Kal Torak <kaltorak@quake.com.au>
To:        Oliver Fromme <olli@fromme.com>
Cc:        "Kenneth D. Merry" <ken@kdm.org>, FreeBSD Stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: tosha port causing system to reboot
Message-ID:  <3D69F5EE.2010005@quake.com.au>
References:  <200208260826.g7Q8QKb56085@haluter.fromme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Fromme wrote:
> Kenneth D. Merry wrote:
>  > In general, though, you can't say that a userland program should never be
>  > able to cause a system panic.  Using /dev/mem, you can scribble all over
>  > the place, including registers on most card in the system.  Writing random
>  > garbage to /dev/mem will probably panic the system pretty quick.
> 
> OK, that's true, but you need specific permissions to do
> that.  Tosha doesn't do any "magic" or "forbidden things".
> Using the standard CAM API should be pretty safe.
> 
> It is also recommended to _not_ run tosha as root, and
> _not_ set any s-bits on the binary, but instead using the
> group access features on the appropriate pass/xpt devices.

Yes Im very bad... I run it as root..

But even so it shouldnt panic the system..

I will go and compile the kernel with debugging symbols and take
another dump and trace and see if it reveals anything anyway...


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D69F5EE.2010005>