From nobody Fri Dec 17 10:55:16 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6562218E535E; Fri, 17 Dec 2021 10:55:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JFm910K5Lz4cgL; Fri, 17 Dec 2021 10:55:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D2F371A89E; Fri, 17 Dec 2021 10:55:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BHAtGuL018934; Fri, 17 Dec 2021 10:55:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BHAtGtj018933; Fri, 17 Dec 2021 10:55:16 GMT (envelope-from git) Date: Fri, 17 Dec 2021 10:55:16 GMT Message-Id: <202112171055.1BHAtGtj018933@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Hans Petter Selasky Subject: git: 2fcd7d380ba1 - main - snd_uaudio(4): Loosen up the USB MIDI permissions. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: hselasky X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2fcd7d380ba103060d43d6d01c1af6bb95819504 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639738517; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FlOHAdWzoMamcxeD0enpdJ0UlzTlvu8RsCSjZvI+sNM=; b=N03b9gmEgsOPgmWSe+xuuUEvOAhU6jUaKfP6UqAoY6Ym8h9ZmQQffjX7Sdgmv70WCksGxz c7EKq9Mpb5blHpOYzbHf5nYuufj76eSkFvhejR2dsBNRRka/nzoyyNR+yHFzkTLsk0eWdz GLuWPiqQoN9wVnRlWScdy5+iBuixug++VXwtjBNfkz1UEDy7i7PfJRSmx+chWp5ClzfSMm jyB/CJvkJdlDREgG7mGtUU8g8J01K2Lphy4FYliCAortr1QOqG0XLp6arRpdRjBur/gBAL 0ZwAhP+cVNrEe2S60Us6FY2DpiQrWhJVAjmeg2pCV0ZRxMGPDfU9iqeGoHasBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639738517; a=rsa-sha256; cv=none; b=aTzK1k/HoNNfOTz8k3K7oQw3j2SbKu3mMOTP81kSOeUn23vrycDpRldl+hZ5KDuqY1l9dG 8QsLs/joRxcwapwsL9l+WeAZmMvBbMfyC65JLjosB+tXxc9TPFLukruQASOqYCu35OUPol erjY3u1G972RbubYZgPFwvYTTg+p8AAoJZQ4jjZpuP6VOUuKd/ctXElfvyuYYoCr/I6a4K 2W4pJR+JvFghgHco4GSk9T4kQjWpD0SxIPicgQ2Pyzyteb1QG8vb9oZhmEfWog4RkyEDL3 K+qapJyUesfbDBEgdLWE0DJ+1mhbosY9MpWe6VToCZ9cINc08ZoV8Rwdk1Y7GQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=2fcd7d380ba103060d43d6d01c1af6bb95819504 commit 2fcd7d380ba103060d43d6d01c1af6bb95819504 Author: Hans Petter Selasky AuthorDate: 2021-12-17 10:52:00 +0000 Commit: Hans Petter Selasky 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; }