Re: lm sensors sysfs file structure

Greg KH
2003-03-28T07:30:26Z

On Fri, Mar 28, 2003 at 09:21:48AM +0200, Martin Schlemmer wrote:
>
> Silly w83781d again. temp1 is a u8, and temp2 and temp3 is u16
> (if they are supported on the specific model.
>
> Should we do any bounds checking on input via sysfs ?

So that you can't hurt your hardware or crash the os, yes.

I think the write ability is limited to root, so that's a good first
step too.

thanks,

greg k-h