LWN.net Logo

A critical look at sysfs attribute values

A critical look at sysfs attribute values

Posted Mar 18, 2010 4:01 UTC (Thu) by hmh (subscriber, #3838)
In reply to: A critical look at sysfs attribute values by fjpop
Parent article: A critical look at sysfs attribute values

That's considered a bug. You're supposed to eat all whitespace before AND after whatever you want to parse in a write to a sysfs attribute, and error out if there is any crap at the end.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds