[Bug 259582] hw.snd.default_unit can be modified by any user including those in a jail

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Feb 2025 12:10:17 UTC
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.