git: 2fcd7d380ba1 - main - snd_uaudio(4): Loosen up the USB MIDI permissions.

From: Hans Petter Selasky <hselasky_at_FreeBSD.org>
Date: Fri, 17 Dec 2021 10:55:16 UTC
The branch main has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=2fcd7d380ba103060d43d6d01c1af6bb95819504

commit 2fcd7d380ba103060d43d6d01c1af6bb95819504
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2021-12-17 10:52:00 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2021-12-17 10:54:19 +0000

    snd_uaudio(4): Loosen up the USB MIDI permissions.
    
    This makes USB MIDI more userfriendly for desktop users.
    
    PR:             260489
    MFC after:      1 week
    Sponsored by:   NVIDIA Networking
---
 sys/dev/sound/usb/uaudio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c
index bc5b0d04c020..9f2708abcd0f 100644
--- a/sys/dev/sound/usb/uaudio.c
+++ b/sys/dev/sound/usb/uaudio.c
@@ -6021,7 +6021,7 @@ umidi_probe(device_t dev)
 		error = usb_fifo_attach(sc->sc_udev, chan, &chan->mtx,
 		    &umidi_fifo_methods, &sub->fifo, unit, n,
 		    chan->iface_index,
-		    UID_ROOT, GID_OPERATOR, 0644);
+		    UID_ROOT, GID_OPERATOR, 0666);
 		if (error) {
 			goto detach;
 		}