aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch')
-rw-r--r--gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch b/gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch
new file mode 100644
index 0000000000..1bee0bddf5
--- /dev/null
+++ b/gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch
@@ -0,0 +1,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);