On Fri, Sep 14, 2012 at 09:56:00AM +0300, Dan Carpenter wrote: > If you tried to cat more than 255 characters (the last character is for > the terminator) to these proc files then it would corrupt kernel memory. > > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Actually sorry for this, I meant to check first before sending. Is it possible to do a zero size write to a proc file? In sysfs it isn't but I'm not sure about proc. I may need to redo this. regards, dan carpenter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel