Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2022 13:30:55 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 457750da86f1 - stable/13 - snd_uaudio(4): Loosen up the USB MIDI permissions.
Message-ID:  <202201071330.207DUt1w031575@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=457750da86f17598be135b3cc706f4275560749d

commit 457750da86f17598be135b3cc706f4275560749d
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2021-12-17 10:52:00 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-01-07 13:23:26 +0000

    snd_uaudio(4): Loosen up the USB MIDI permissions.
    
    This makes USB MIDI more userfriendly for desktop users.
    
    PR:             260489
    Sponsored by:   NVIDIA Networking
    
    (cherry picked from commit 2fcd7d380ba103060d43d6d01c1af6bb95819504)
---
 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;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201071330.207DUt1w031575>