Re: [PATCH] checkpatch: catch all world writable debugfs_create_file

2015-03-13 Thread Joe Perches
On Fri, 2015-03-13 at 15:23 -0400, Nicholas Mc Guire wrote: > Currently checkpatch will fuss if one uses world writable settings in debugfs > files by passing S_IWUGO but not when passing S_IWOTH, S_IRWXUGO or S_IALLUGO. > This patch extends the check to catches all cases exporting world writable

Re: [PATCH] checkpatch: catch all world writable debugfs_create_file

2015-03-13 Thread Joe Perches
On Fri, 2015-03-13 at 15:23 -0400, Nicholas Mc Guire wrote: > Currently checkpatch will fuss if one uses world writable settings in debugfs > files by passing S_IWUGO but not when passing S_IWOTH, S_IRWXUGO or S_IALLUGO. > This patch extends the check to catches all cases exporting world writable

[PATCH] checkpatch: catch all world writable debugfs_create_file

2015-03-13 Thread Nicholas Mc Guire
Currently checkpatch will fuss if one uses world writable settings in debugfs files by passing S_IWUGO but not when passing S_IWOTH, S_IRWXUGO or S_IALLUGO. This patch extends the check to catches all cases exporting world writable files Signed-off-by: Nicholas Mc Guire --- The patch was

[PATCH] checkpatch: catch all world writable debugfs_create_file

2015-03-13 Thread Nicholas Mc Guire
Currently checkpatch will fuss if one uses world writable settings in debugfs files by passing S_IWUGO but not when passing S_IWOTH, S_IRWXUGO or S_IALLUGO. This patch extends the check to catches all cases exporting world writable files Signed-off-by: Nicholas Mc Guire hof...@osadl.org --- The

Re: [PATCH] checkpatch: catch all world writable debugfs_create_file

2015-03-13 Thread Joe Perches
On Fri, 2015-03-13 at 15:23 -0400, Nicholas Mc Guire wrote: Currently checkpatch will fuss if one uses world writable settings in debugfs files by passing S_IWUGO but not when passing S_IWOTH, S_IRWXUGO or S_IALLUGO. This patch extends the check to catches all cases exporting world writable

Re: [PATCH] checkpatch: catch all world writable debugfs_create_file

2015-03-13 Thread Joe Perches
On Fri, 2015-03-13 at 15:23 -0400, Nicholas Mc Guire wrote: Currently checkpatch will fuss if one uses world writable settings in debugfs files by passing S_IWUGO but not when passing S_IWOTH, S_IRWXUGO or S_IALLUGO. This patch extends the check to catches all cases exporting world writable