linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ntsync: Set the permissions to be 0666
@ 2025-02-14 12:28 Mike Lothian
  2025-02-14 13:06 ` Greg Kroah-Hartman
  2025-02-18 23:57 ` Elizabeth Figura
  0 siblings, 2 replies; 10+ messages in thread
From: Mike Lothian @ 2025-02-14 12:28 UTC (permalink / raw)
  To: dri-devel, Elizabeth Figura, Arnd Bergmann, Greg Kroah-Hartman,
	Jonathan Corbet, Shuah Khan
  Cc: Mike Lothian, linux-kernel, linux-api, wine-devel,
	André Almeida, Wolfram Sang, Arkadiusz Hiler, Peter Zijlstra,
	Andy Lutomirski, Randy Dunlap, Ingo Molnar, Will Deacon,
	Waiman Long, Boqun Feng

This allows ntsync to be usuable by non-root processes out of the box

Signed-off-by: Mike Lothian <mike@fireburn.co.uk>
---
 drivers/misc/ntsync.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/ntsync.c b/drivers/misc/ntsync.c
index 055395cde42b..586b86243e1d 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, // Setting file permissions to 0666
 };
 
 module_misc_device(ntsync_misc);
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-02-19 14:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-14 12:28 [PATCH] ntsync: Set the permissions to be 0666 Mike Lothian
2025-02-14 13:06 ` Greg Kroah-Hartman
2025-02-14 18:13   ` Elizabeth Figura
2025-02-14 18:45     ` Darrick J. Wong
2025-02-14 22:15       ` Elizabeth Figura
2025-02-15  1:03         ` Darrick J. Wong
2025-02-15  1:24           ` Elizabeth Figura
2025-02-15  5:59     ` Greg Kroah-Hartman
2025-02-18 23:57 ` Elizabeth Figura
2025-02-19 14:22   ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).