checkpatch: check for world-writeable sysfs/debugfs files
authorDave Jones <davej@redhat.com>
Thu, 13 Jan 2011 00:59:59 +0000 (16:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:11 +0000 (08:03 -0800)
commit88f8831c055858179a7844d9dd4ddd7d3621322e
treeb8f5c4cdb714ec2fbb7ecf4ca34fff6dbbeb304d
parentc023e4734c3e8801e0ecb5e81b831d42a374d861
checkpatch: check for world-writeable sysfs/debugfs files

Exporting world writable sysfs/debugfs files is usually a bad thing.  Warn
about it.

Signed-off-by: Dave Jones <davej@redhat.com>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl