UBIFS: restrict world-writable debugfs files
authorVasiliy Kulikov <segoon@openwall.com>
Fri, 4 Feb 2011 12:24:19 +0000 (15:24 +0300)
committerBrad Figg <brad.figg@canonical.com>
Wed, 27 Apr 2011 18:41:46 +0000 (11:41 -0700)
commit0569da3b9c763535cfbb70081f3a336fa8d30bcb
tree09c11aa64c08c477ef19a8a1ee562d4b4af6388e
parentd874aee8d387a78626b01b7c4ab4c1f99378e69a
UBIFS: restrict world-writable debugfs files

BugLink: http://bugs.launchpad.net/bugs/769042

commit 8c559d30b4e59cf6994215ada1fe744928f494bf upstream.

Don't allow everybody to dump sensitive information about filesystems.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
fs/ubifs/debug.c