[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit cc8f36925c252d2d7bc4735a4fec40ab831af2c4
Author: Yawning Angel <yawning@xxxxxxxxxxxxxxx>
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)
 		}

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits