staging: mt7621-mmc: Fix debug file world writable
Currently the debug file in proc fs is world writable, remove the access for other. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e1b8ebd25d
commit
2436c3156e
|
@ -339,7 +339,7 @@ static const struct file_operations msdc_debug_fops = {
|
|||
|
||||
void msdc_debug_proc_init(void)
|
||||
{
|
||||
proc_create("msdc_debug", 0667, NULL, &msdc_debug_fops);
|
||||
proc_create("msdc_debug", 0660, NULL, &msdc_debug_fops);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(msdc_debug_proc_init);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue