[GH-ISSUE #419] Splitting --no-sound into --no-speaker and --no-microphone #301

Closed
opened 2026-05-05 05:33:32 -06:00 by gitea-mirror · 8 comments
Owner

Originally created by @HulaHoopWhonix on GitHub (Apr 8, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/419

Oz is planning to make pulseaudio restrictions more fine-grained to allow more secure profiles.

Controlling speaker and microphone restrictions separately allows restricting microphone access to a browser (which it has no business accessing) while keeping speaker access for usability.

Originally created by @HulaHoopWhonix on GitHub (Apr 8, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/419 Oz is planning to make pulseaudio restrictions more fine-grained to allow more secure profiles. Controlling speaker and microphone restrictions separately allows restricting microphone access to a browser (which it has no business accessing) while keeping speaker access for usability.
gitea-mirror 2026-05-05 05:33:32 -06:00
Author
Owner

@netblue30 commented on GitHub (Apr 9, 2016):

Yes, these features are highly desirable. Do they have a description how they do it? How did you find out about it?

<!-- gh-comment-id:207817573 --> @netblue30 commented on GitHub (Apr 9, 2016): Yes, these features are highly desirable. Do they have a description how they do it? How did you find out about it?
Author
Owner

@HulaHoopWhonix commented on GitHub (Apr 10, 2016):

Read it here:

https://github.com/subgraph/oz/issues/35

Unfortunately no details are given and nothing implemented yet to look at.

<!-- gh-comment-id:207890158 --> @HulaHoopWhonix commented on GitHub (Apr 10, 2016): Read it here: https://github.com/subgraph/oz/issues/35 Unfortunately no details are given and nothing implemented yet to look at.
Author
Owner

@netblue30 commented on GitHub (Apr 10, 2016):

Thanks, I'll keep an eye on it.

<!-- gh-comment-id:207987823 --> @netblue30 commented on GitHub (Apr 10, 2016): Thanks, I'll keep an eye on it.
Author
Owner

@netblue30 commented on GitHub (Jun 24, 2016):

The bad guy can still go directly to ALSA and bypass PulseAudio. The only way I can see it in this moment is to use private-dev and disable all the sound system.

<!-- gh-comment-id:228318501 --> @netblue30 commented on GitHub (Jun 24, 2016): The bad guy can still go directly to ALSA and bypass PulseAudio. The only way I can see it in this moment is to use private-dev and disable all the sound system.
Author
Owner

@HulaHoopWhonix commented on GitHub (Jul 11, 2016):

Orthogonal info:

As part of Flatpak's isolation efforts new low-level permission hooks were added to PulseAudio to allow the microphone vs speaker denial granularity:

Very useful resources linked from the ticket:

https://github.com/flatpak/xdg-desktop-portal/issues/27

I will tell them about the ALSA loophole you talk about.

<!-- gh-comment-id:231887055 --> @HulaHoopWhonix commented on GitHub (Jul 11, 2016): Orthogonal info: As part of Flatpak's isolation efforts new low-level permission hooks were added to PulseAudio to allow the microphone vs speaker denial granularity: Very useful resources linked from the ticket: https://github.com/flatpak/xdg-desktop-portal/issues/27 I will tell them about the ALSA loophole you talk about.
Author
Owner

@netblue30 commented on GitHub (Jul 12, 2016):

Thanks for the information. They still have the problem with ALSA. Quite a number of distributions install ALSA instead of PulseAudio (Lubuntu for example). And there are also users replacing Pulse with ALSA after installing a Linux distro.

I don't see how this will ever get solved without some heavy lifting inside the kernel.

<!-- gh-comment-id:232032337 --> @netblue30 commented on GitHub (Jul 12, 2016): Thanks for the information. They still have the problem with ALSA. Quite a number of distributions install ALSA instead of PulseAudio (Lubuntu for example). And there are also users replacing Pulse with ALSA after installing a Linux distro. I don't see how this will ever get solved without some heavy lifting inside the kernel.
Author
Owner

@HulaHoopWhonix commented on GitHub (Jul 16, 2016):

Flatpak devs share more on how they manage to lock down access to pulseaudio while dealing with ALSA.

Please check it out:

https://github.com/flatpak/xdg-desktop-portal/issues/27#issuecomment-233057825

<!-- gh-comment-id:233103288 --> @HulaHoopWhonix commented on GitHub (Jul 16, 2016): Flatpak devs share more on how they manage to lock down access to pulseaudio while dealing with ALSA. Please check it out: https://github.com/flatpak/xdg-desktop-portal/issues/27#issuecomment-233057825
Author
Owner

@netblue30 commented on GitHub (Jul 16, 2016):

Let's wait for them to fix PulseAudio.

<!-- gh-comment-id:233127612 --> @netblue30 commented on GitHub (Jul 16, 2016): Let's wait for them to fix PulseAudio.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#301
No description provided.