diff options
| author | Mike Lothian <[email protected]> | 2025-02-14 12:28:00 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-02-19 14:23:41 +0000 |
| commit | fa2e55811ae25020a5e9b23a8932e67e6d6261a4 (patch) | |
| tree | bab6b3e6a68a6cd449315acaedc3960f636bbb3c /drivers/misc/ntsync.c | |
| parent | mei: vsc: Use "wakeuphostint" when getting the host wakeup GPIO (diff) | |
| download | kernel-fa2e55811ae25020a5e9b23a8932e67e6d6261a4.tar.gz kernel-fa2e55811ae25020a5e9b23a8932e67e6d6261a4.zip | |
ntsync: Set the permissions to be 0666
This allows ntsync to be usuable by non-root processes out of the box
Signed-off-by: Mike Lothian <[email protected]>
Reviewed-by: Elizabeth Figura <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/misc/ntsync.c')
| -rw-r--r-- | drivers/misc/ntsync.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/ntsync.c b/drivers/misc/ntsync.c index 055395cde42b..0b4e56d59b3d 100644 --- 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); |
