[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201009081624.GA401030@kroah.com>
Date: Fri, 9 Oct 2020 10:16:24 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Johannes Berg <johannes@...solutions.net>
Cc: linux-kernel@...r.kernel.org, nstange@...e.de, ap420073@...il.com,
David.Laight@...lab.com, netdev@...r.kernel.org,
linux-wireless@...r.kernel.org, rafael@...nel.org
Subject: Re: [CRAZY-RFF] debugfs: track open files and release on remove
On Fri, Oct 09, 2020 at 10:06:14AM +0200, Johannes Berg wrote:
> We used to say the proxy_fops weren't needed and it wasn't an issue, and
> then still implemented it. Dunno. I'm not really too concerned about it
> myself, only root can hold the files open and remove modules ...
proxy_fops were needed because devices can be removed from the system at
any time, causing their debugfs files to want to also be removed. It
wasn't because of unloading kernel code.
thanks,
greg k-h
Powered by blists - more mailing lists