Messages in this thread | | | Date | Tue, 22 Feb 2011 11:53:42 -0800 | From | David Daney <> | Subject | Re: [PATCH 2/2] debugfs: only allow root access to debugging interfaces |
| |
On 02/22/2011 11:50 AM, Kees Cook wrote: > On Tue, Feb 22, 2011 at 07:34:18PM +0000, Alan Cox wrote: [...] > >> Or of course you could just chmod it 0700 in the distro ! > > I'm trying to, but that involves a race condition since I can't control it > during the mount (nor set the default mode like I was trying to with the > patchset). tmpfs allows "mode=", but debugfs does not... >
Someone skilled in the black arts of kernel programming might be able to add 'mode=' support to debugfs.
David Daney
| |