]> git.lizzy.rs Git - torbrowser-launcher.git/commitdiff
AppArmor: support Wayland display protocol
authortravankor <travankor@tuta.io>
Sat, 10 Jul 2021 04:02:55 +0000 (21:02 -0700)
committertravankor <travankor@tuta.io>
Sat, 10 Jul 2021 04:03:34 +0000 (21:03 -0700)
When the environment variable MOZ_ENABLE_WAYLAND is set,
Firefox will try to use Wayland IPC sockets.

Closes #591

apparmor/torbrowser.Browser.firefox

index 6882f9d9ae186c129e4faa55529953c5ba81137b..365b0739a3af56411cce86a04d63864a4003ef92 100644 (file)
@@ -115,6 +115,9 @@ profile torbrowser_firefox @{torbrowser_firefox_executable} {
   owner /{dev,run}/shm/org.chromium.* rw,
   owner /dev/shm/org.mozilla.ipc.[0-9]*.[0-9]* rw, # for Chromium IPC
 
+  # Required for Wayland display protocol support
+  owner /dev/shm/wayland.mozilla.ipc.[0-9]* rw,
+
   # Deny access to DRM nodes, that's granted by the X abstraction, which is
   # sourced by the gnome abstraction, that we include.
   deny /dev/dri/** rwklx,