From c0a145a129eface8657fabdd0ee9b2e6b4311040 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Wed, 17 Apr 2013 13:16:37 +0200 Subject: [PATCH] u2mfn: change default /proc/u2mfn permissions It is set to 666 by init scripts anyway. Set defaults here, as scripts are not working in all the cases (DispVM audio problem). --- u2mfn/u2mfn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u2mfn/u2mfn.c b/u2mfn/u2mfn.c index 4cadccd..1303ed0 100644 --- a/u2mfn/u2mfn.c +++ b/u2mfn/u2mfn.c @@ -150,7 +150,7 @@ static struct file_operations u2mfn_fops = { static int u2mfn_init(void) { struct proc_dir_entry *u2mfn_node = - proc_create_data("u2mfn", 0600, NULL, + proc_create_data("u2mfn", 0666, NULL, &u2mfn_fops, 0); if (!u2mfn_node) return -1;