lkml.org 
[lkml]   [2011]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] debugfs: only allow root access to debugging interfaces
On Tue, Feb 22, 2011 at 10:16:13AM -0800, Kees Cook wrote:
> Har har, I forgot --compose to "git send-email".
>
> Anyway, with the continuing deluge of bugs in the "debug" filesystem, I
> would like to make that filesystem's root directory mode 0700 by default
> since it's filled with crazy stuff that regular users do not need to see.

But that will break existing users of this interface, right?

> Better to try to just close the door completely on all the stuff in there.
> It is, after all, supposed to only be used for debugging, right?

No, not really, people use it for all sorts of crazy things.

Remember, the only rule in debugfs is:
There are no rules in debugfs.

thanks,

greg k-h


\
 
 \ /
  Last update: 2011-02-22 20:17    [W:0.055 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site