Messages in this thread | | | Date | Thu, 27 Mar 2003 23:40:31 -0800 | From | Greg KH <> | Subject | Re: lm sensors sysfs file structure |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |