I understand that it's not safe, but does commenting it out break anything inside PA that I'm not aware of?
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, July 7, 2020 1:56 PM, Manuel Amador (Rudd-O) <rudd-o@xxxxxxxxxx> wrote:
On 01/07/2020 18.32, jtharkey wrote:In the source I found this in daemon/main.c:if (conf->system_instance && !conf->disable_shm) {pa_log_notice(_("Running in system mode, forcibly disabling SHM mode."));conf->disable_shm = true;}I commented that out and built it, things seemed to work and work faster. Will commenting that out have some side effect I'm not aware of?
Yes, SHM mode is not safe when multiple users are using it. SHM will give you more performance but hostile users may compromise your PulseAudio daemon.
-- Rudd-O http://rudd-o.com/
_______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss