Bug 93689

Summary: Third party can change volume
Product: PulseAudio Reporter: ben
Component: daemonAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: critical    
Priority: medium CC: lennart
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description ben 2016-01-13 05:43:52 UTC
Other programs can usually (and, as root, always) change pulseaudio's volume. In some cases, this leads to damaged equipment or hearing loss. Add a configuration setting that denies volume control to any program other than alsa or pulseaudio.
Comment 1 Tanu Kaskinen 2016-01-13 07:19:57 UTC
PulseAudio has programming interfaces for controlling the volume, which is used by the volume control applet in gnome among other programs. Do you want access limitations to that interface, or are you only talking about the alsa mixer interface?

The access to the alsa mixer is governed by the permission bits on /dev/snd/controlC*. There's nothing pulseaudio can do about that. It's up to the distribution to manage the device permissions.

What other programs do you have in mind, by the way? Deliberately malicious applications or something else?
Comment 2 GitLab Migration User 2018-07-30 09:32:55 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/1.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.