Changeset View
Changeset View
Standalone View
Standalone View
files/0013-AppArmor-Pass-the-environment-to-Firefox-content-pro.patch
- This file was added.
| From: intrigeri <intrigeri@boum.org> | |||||
| Date: Mon, 9 Sep 2019 09:07:55 +0000 | |||||
| Subject: AppArmor: Pass the environment to Firefox content processes | |||||
| MIME-Version: 1.0 | |||||
| Content-Type: text/plain; charset="utf-8" | |||||
| Content-Transfer-Encoding: 8bit | |||||
| Without this, LD_LIBRARY_PATH is not passed to these processes, and then: | |||||
| - Tor Browser cannot load libmozsandbox.so | |||||
| - Tor Browser 9.0a6 does not start correctly: | |||||
| /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.23' not | |||||
| found (required by /usr/local/lib/tor-browser/libxul.so) | |||||
| … while it should use its own copy of libstdc++.so.6. | |||||
| (cherry picked from commit 73fc84bc3cfffef710a5bd96aeff681a7db6c350) | |||||
| --- | |||||
| apparmor/torbrowser.Browser.firefox | 2 +- | |||||
| 1 file changed, 1 insertion(+), 1 deletion(-) | |||||
| diff --git a/apparmor/torbrowser.Browser.firefox b/apparmor/torbrowser.Browser.firefox | |||||
| index c6d8a26..42516b6 100644 | |||||
| --- a/apparmor/torbrowser.Browser.firefox | |||||
| +++ b/apparmor/torbrowser.Browser.firefox | |||||
| @@ -73,7 +73,7 @@ profile torbrowser_firefox @{torbrowser_firefox_executable} { | |||||
| owner @{torbrowser_home_dir}/TorBrowser/Tor/*.so.* mr, | |||||
| # parent Firefox process when restarting after upgrade, Web Content processes | |||||
| - owner @{torbrowser_firefox_executable} ixmr -> torbrowser_firefox, | |||||
| + owner @{torbrowser_firefox_executable} pxmr -> torbrowser_firefox, | |||||
| /etc/mailcap r, | |||||
| /etc/mime.types r, | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.