public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Binary sysfs blobs
@ 2006-04-11 18:08 Pete Zaitcev
  2006-04-11 18:57 ` Jesse Barnes
  2006-04-11 20:42 ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: Pete Zaitcev @ 2006-04-11 18:08 UTC (permalink / raw)
  To: greg; +Cc: linux-kernel, zaitcev

Hi, Greg:

I was reviewing some patches here and noticed (yes, only now noticed) that
we have operations on binary blobs in fs/sysfs/bin.c. I thought it wasn't
part of the deal for sysfs, with one value per file and so on. I suppose
it's too late to debate now, but I have a couple of questions:

 - Do you know of any conventions which allow to determine which file
   is binary? Maybe the name starting with an underscore or something?

 - Is there a standing policy that reading from a sysfs file is not
   altering a state of the corresponding hardware? This is not related
   to blobs directly, but with people passing structs now, it's tempting
   to implement some extended protocols. I am concerned of stealing
   network packets by accident or something.

Greetings,
-- Pete

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-04-12 10:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-11 18:08 Binary sysfs blobs Pete Zaitcev
2006-04-11 18:57 ` Jesse Barnes
2006-04-11 20:42 ` Greg KH
2006-04-12 10:34   ` Pete Zaitcev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox