summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2015-02-19 13:47:08 +0000
committerTails developers <amnesia@boum.org>2015-02-19 14:30:15 +0000
commit5b9b74716d37d8d7ab777f8dbbe46201d3715c7f (patch)
tree205571f891b4a24885de5b1d420cc4518f07720e
parent667e473e8e3651fe7a34119373d6a1619b4ec50f (diff)
Tor Browser AppArmor profile: support spell checking.
Will-fix: #8916
-rw-r--r--config/chroot_local-includes/usr/share/tails/torbrowser-AppArmor-profile.patch9
1 files changed, 7 insertions, 2 deletions
diff --git a/config/chroot_local-includes/usr/share/tails/torbrowser-AppArmor-profile.patch b/config/chroot_local-includes/usr/share/tails/torbrowser-AppArmor-profile.patch
index d6f8bf6..baef2ba 100644
--- a/config/chroot_local-includes/usr/share/tails/torbrowser-AppArmor-profile.patch
+++ b/config/chroot_local-includes/usr/share/tails/torbrowser-AppArmor-profile.patch
@@ -1,5 +1,5 @@
diff --git a/apparmor/torbrowser.Browser.firefox b/apparmor/torbrowser.Browser.firefox
-index 0df7ad9..ae26e61 100644
+index 0df7ad9..6d1346c 100644
--- a/apparmor/torbrowser.Browser.firefox
+++ b/apparmor/torbrowser.Browser.firefox
@@ -1,13 +1,15 @@
@@ -105,7 +105,7 @@ index 0df7ad9..ae26e61 100644
# Should use abstractions/gstreamer instead once merged upstream
/etc/udev/udev.conf r,
-@@ -72,6 +87,16 @@
+@@ -72,6 +87,21 @@
/sys/devices/pci[0-9]*/**/uevent r,
owner /{dev,run}/shm/shmfd-* rw,
@@ -119,6 +119,11 @@ index 0df7ad9..ae26e61 100644
+ /usr/local/lib/tor-browser/firefox Pix,
+ /usr/bin/seahorse-tool Ux,
+
++ # Spell checking (the "enchant" abstraction includes these rules
++ # too, but it allows way more stuff than what we need)
++ /usr/share/hunspell/ r,
++ /usr/share/hunspell/* r,
++
# KDE 4
owner @{HOME}/.kde/share/config/* r,