[Pkg-anonymity-tools] [torbrowser-launcher] 10/47: Use the X abstraction.

Holger Levsen holger at moszumanska.debian.org
Sat Aug 2 16:31:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository torbrowser-launcher.

commit 4864e5bdfa68a6a76732ea723e473076307922f9
Author: intrigeri <intrigeri at boum.org>
Date:   Wed Jul 23 12:13:42 2014 +0200

    Use the X abstraction.
---
 apparmor/torbrowser.Browser.firefox | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/apparmor/torbrowser.Browser.firefox b/apparmor/torbrowser.Browser.firefox
index 0579eab..debcef6 100644
--- a/apparmor/torbrowser.Browser.firefox
+++ b/apparmor/torbrowser.Browser.firefox
@@ -4,6 +4,7 @@
   #include <abstractions/base>
   #include <abstractions/fonts>
   #include <abstractions/user-tmp>
+  #include <abstractions/X>
 
   network tcp,
 
@@ -17,9 +18,6 @@
   deny @{HOME}/.local/share/recently-used.xbel* rw,
 
   /bin/dash rix,
-  /dev/dri/card0 rw,
-  /etc/X11/cursors/* r,
-  /etc/drirc r,
   /etc/gnome/defaults.list r,
   /etc/gnome-vfs-2.0/modules/ r,
   /etc/gnome-vfs-2.0/modules/default-modules.conf r,
@@ -45,10 +43,8 @@
   @{HOME}/.torbrowser/tbb/{stable,alpha}/{i686,x86_64}/tor-browser_*/Downloads/ rw,
   @{HOME}/.torbrowser/tbb/{stable,alpha}/{i686,x86_64}/tor-browser_*/Downloads/** rw,
   @{HOME}/.torbrowser/tbb/{stable,alpha}/{i686,x86_64}/tor-browser_*/Tor/tor Px,
-  @{HOME}/.Xauthority r,
-  /run/gdm3/** r,
   /sys/devices/system/cpu/present r,
-  /tmp/.X0-lock r,
+  /tmp/.X[0-9]*-lock r,
   /usr/lib{,32,64}/** mr,
   /usr/share/ r,
   /usr/share/applications/*.desktop r,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/torbrowser-launcher.git



More information about the Pkg-anonymity-tools mailing list