6.12-stable review patch. If anyone has any objections, please let me know.
------------------
From: Mike Lothian mike@fireburn.co.uk
[ Upstream commit fa2e55811ae25020a5e9b23a8932e67e6d6261a4 ]
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 Signed-off-by: Sasha Levin sashal@kernel.org --- drivers/misc/ntsync.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/misc/ntsync.c b/drivers/misc/ntsync.c index 4954553b7baa6..c3ba3f0ebf300 100644 --- a/drivers/misc/ntsync.c +++ b/drivers/misc/ntsync.c @@ -238,6 +238,7 @@ static struct miscdevice ntsync_misc = { .minor = MISC_DYNAMIC_MINOR, .name = NTSYNC_NAME, .fops = &ntsync_fops, + .mode = 0666, };
module_misc_device(ntsync_misc);