[tor-commits] [sandboxed-tor-browser/master] Bug #20899: More PulseAudio fixes.

yawning at torproject.org yawning at torproject.org
Wed Dec 7 02:07:07 UTC 2016


commit cc8f36925c252d2d7bc4735a4fec40ab831af2c4
Author: Yawning Angel <yawning at schwanenlied.me>
Date:   Wed Dec 7 02:05:36 2016 +0000

    Bug #20899: More PulseAudio fixes.
    
    Nothing should dlopen() libplusecore now, so don't include it in the
    container even if we can find it.
---
 src/cmd/sandboxed-tor-browser/internal/sandbox/pulse.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/cmd/sandboxed-tor-browser/internal/sandbox/pulse.go b/src/cmd/sandboxed-tor-browser/internal/sandbox/pulse.go
index 9ff8243..5a005a5 100644
--- a/src/cmd/sandboxed-tor-browser/internal/sandbox/pulse.go
+++ b/src/cmd/sandboxed-tor-browser/internal/sandbox/pulse.go
@@ -127,6 +127,10 @@ func (h *hugbox) appendRestrictedPulseAudio(cache *dynlib.Cache) ([]string, stri
 				continue
 			}
 			_, f := filepath.Split(v)
+			if strings.HasPrefix(f, "libpulsecore") {
+				Debugf("sandbox: Skipping libpulsecore: %v", v)
+				continue
+			}
 			h.roBind(v, filepath.Join(restrictedPulseDir, f), false)
 			extraLibs = append(extraLibs, f)
 		}



More information about the tor-commits mailing list