]> git.lizzy.rs Git - torbrowser-launcher.git/commitdiff
Merge pull request #593 from travankor/wayland
authorintrigeri <intrigeri@boum.org>
Tue, 10 Aug 2021 17:15:47 +0000 (17:15 +0000)
committerGitHub <noreply@github.com>
Tue, 10 Aug 2021 17:15:47 +0000 (17:15 +0000)
AppArmor: support Wayland display protocol

1  2 
apparmor/torbrowser.Browser.firefox

index c8db3cd62cc647a0fd1557a9d890bd4577899f82,365b0739a3af56411cce86a04d63864a4003ef92..41fb76afe2de172659688c65a27474849a5c8e1d
@@@ -115,6 -115,9 +115,9 @@@ profile torbrowser_firefox @{torbrowser
    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,
    /sys/class/ r,
    /sys/bus/ r,
    /sys/class/hidraw/ r,
 -  /run/udev/data/c24{7,9}:* r,
 +  /run/udev/data/c24{5,7,9}:* r,
    /dev/hidraw* rw,
    # Yubikey NEO also needs this:
    /sys/devices/**/hidraw/hidraw*/uevent r,