Re: [PATCH V35 26/29] debugfs: Restrict debugfs when the kernel is locked down

2019-07-15 Thread James Morris
On Mon, 15 Jul 2019, Matthew Garrett wrote: > From: David Howells > > Disallow opening of debugfs files that might be used to muck around when > the kernel is locked down as various drivers give raw access to hardware > through debugfs. Given the effort of auditing all 2000 or so files and > ma

[PATCH V35 26/29] debugfs: Restrict debugfs when the kernel is locked down

2019-07-15 Thread Matthew Garrett
From: David Howells Disallow opening of debugfs files that might be used to muck around when the kernel is locked down as various drivers give raw access to hardware through debugfs. Given the effort of auditing all 2000 or so files and manually fixing each one as necessary, I've chosen to apply