mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 04:19:23 -04:00
Staging: comedi: proc: Change file permission to read only
As there's no write operation, change to read only.
Was inadvertantly switched to 0644 in commit 1f817b86d5
("comedi: Don't use create_proc_read_entry()").
Signed-off-by: Cheah Kok Cheong <thrust73@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bf279ece37
commit
5f52f319cd
@@ -88,7 +88,7 @@ static const struct file_operations comedi_proc_fops = {
|
||||
|
||||
void comedi_proc_init(void)
|
||||
{
|
||||
proc_create("comedi", 0644, NULL, &comedi_proc_fops);
|
||||
proc_create("comedi", 0444, NULL, &comedi_proc_fops);
|
||||
}
|
||||
|
||||
void comedi_proc_cleanup(void)
|
||||
|
||||
Reference in New Issue
Block a user