public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Problem with debugfs
@ 2010-09-21  2:21 liguozhu
  2010-09-21  3:43 ` Greg KH
  2010-09-21  6:13 ` Kenneth
  0 siblings, 2 replies; 10+ messages in thread
From: liguozhu @ 2010-09-21  2:21 UTC (permalink / raw)
  To: linux-kernel

Hi, there,

I do not know who is the maintainer for debugfs now. But I think there is
problem with its API: It uses filp->priv->mutex to protect the read/write (to
the file) for the value of its attribute, but the mutex is not exported to the
API user.  Therefore, there is no way to protect its value when you directly
use the value in your module.

Is my understanding correct?

Thanks


Best Regards
Kenneth Lee

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

end of thread, other threads:[~2010-09-25  1:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-21  2:21 Problem with debugfs liguozhu
2010-09-21  3:43 ` Greg KH
2010-09-21  4:38   ` Randy Dunlap
2010-09-21 13:40     ` Greg KH
2010-09-21  6:13 ` Kenneth
2010-09-21  7:23   ` KOSAKI Motohiro
2010-09-21  7:31     ` Andi Kleen
2010-09-21  8:04       ` Wu Fengguang
2010-09-21  8:12         ` Andi Kleen
2010-09-25  1:18   ` Kenneth

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