aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch
blob: 1bee0bddf59bd852d7042e8a09e3493b9b2c0001 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
+++ b/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
@@ -920,6 +920,8 @@
   policy->AddDir(rdonly, "/usr/lib64");
   policy->AddDir(rdonly, "/run/opengl-driver/lib");
   policy->AddDir(rdonly, "/nix/store");
+  policy->AddDir(rdonly, "/gnu/store");
+  policy->AddDir(rdonly, "/run/current-system/profile/lib");

   // Bug 1647957: memory reporting.
   AddMemoryReporting(policy.get(), aPid);