projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb1ada
)
ntsync: Set the permissions to be 0666
author
Mike Lothian
<mike@fireburn.co.uk>
Fri, 14 Feb 2025 12:28:00 +0000
(12:28 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 19 Feb 2025 14:23:41 +0000
(15:23 +0100)
This allows ntsync to be usuable by non-root processes out of the box
Signed-off-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Elizabeth Figura <zfigura@codeweavers.com>
Link:
https://lore.kernel.org/r/20250214122759.2629-2-mike@fireburn.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ntsync.c
patch
|
blob
|
history
diff --git
a/drivers/misc/ntsync.c
b/drivers/misc/ntsync.c
index
055395c
..
0b4e56d
100644
(file)
--- a/
drivers/misc/ntsync.c
+++ b/
drivers/misc/ntsync.c
@@
-1208,6
+1208,7
@@
static struct miscdevice ntsync_misc = {
.minor = MISC_DYNAMIC_MINOR,
.name = NTSYNC_NAME,
.fops = &ntsync_fops,
+ .mode = 0666,
};
module_misc_device(ntsync_misc);