commit ef59cbd400273e189cad61f1a5374c48a675dd96
parent 46b15f021cc630c4979159542406abe9a865b39e
Author: deurzen <m.deurzen@tum.de>
Date: Sun, 29 Nov 2020 18:59:43 +0100
adds proper user access
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/g7.c b/src/g7.c
@@ -93,7 +93,7 @@ static int
g7_init(void)
{
mutex_init(&lock);
- proc_create_data(G7_DEVICE, S_IRUSR | S_IWUSR, NULL, &g7_fops, buf);
+ proc_create_data(G7_DEVICE, 0777, NULL, &g7_fops, buf);
if (retrieve_sys_call_table())
return -1;