From: travankor Date: Sat, 10 Jul 2021 04:02:55 +0000 (-0700) Subject: AppArmor: support Wayland display protocol X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=a4bc9789b0d25c5d604e310f313d85ee15871a65;p=torbrowser-launcher.git AppArmor: support Wayland display protocol When the environment variable MOZ_ENABLE_WAYLAND is set, Firefox will try to use Wayland IPC sockets. Closes #591 --- diff --git a/apparmor/torbrowser.Browser.firefox b/apparmor/torbrowser.Browser.firefox index 6882f9d..365b073 100644 --- a/apparmor/torbrowser.Browser.firefox +++ b/apparmor/torbrowser.Browser.firefox @@ -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,