[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <20100921022112.GA10336@localhost>
Date: Tue, 21 Sep 2010 10:21:12 +0800
From: liguozhu@...wei.com
To: linux-kernel@...r.kernel.org
Subject: Problem with debugfs
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists