Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2025 12:10:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 259582] hw.snd.default_unit can be modified by any user including those in a jail
Message-ID:  <bug-259582-227-oV3QiTD2hk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259582-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259582

Christos Margiolis <christos@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christos@freebsd.org

--- Comment #6 from Christos Margiolis <christos@freebsd.org> ---
(In reply to Konstantin Belousov from comment #5)
Currently mixer(8) has a -d option that sets the default unit, for example:

$ mixer -d pcm0

So using the sysctl directly is not needed anymore. However, mixer(8) uses this
sysctl internally too. Because of the way sound(4) is designed, even if we get
rid of the sysctl, we'd probably replace that with an ioctl that does the same
thing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259582-227-oV3QiTD2hk>