Hi Steve, hi all,

Steve Beattie wrote (25 Sep 2013 17:42:11 GMT) :
>> +  /usr/lib/@{multiarch}/pkcs11/*.so m,

> Is there a reason not to use <abstractions/p11-kit>?

No. I've missed it thanks to the glob, combined with a poor choice of
grep pattern from my part when looking for a suitable abstraction.

My 1/4 patch should be fine, but I've rewritten history for the three
following ones. Refreshed 3-4/4 patches are attached.

Cheers,
-- 
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc

>From 616958d121b25be13cc07597da2334f1acae9d5a Mon Sep 17 00:00:00 2001
From: intrigeri <intrig...@boum.org>
Date: Wed, 25 Sep 2013 09:40:47 +0000
Subject: [PATCH 2/4] Allow Totem to use GNOME keyring's PKCS#11 support.

---
 ubuntu/13.10/abstractions/totem | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ubuntu/13.10/abstractions/totem b/ubuntu/13.10/abstractions/totem
index 8284b49..d6606c9 100644
--- a/ubuntu/13.10/abstractions/totem
+++ b/ubuntu/13.10/abstractions/totem
@@ -18,6 +18,7 @@
   #include <abstractions/gnome>
   #include <abstractions/nameservice>
   #include <abstractions/dbus-session>
+  #include <abstractions/p11-kit>
 
   # Allow read on all directories
   /**/ r,
-- 
1.8.4.rc3

>From a077713c0277344fd10bb8a4df4c4287c4c0ba91 Mon Sep 17 00:00:00 2001
From: intrigeri <intrig...@boum.org>
Date: Wed, 25 Sep 2013 09:42:34 +0000
Subject: [PATCH 3/4] Allow Totem to access the Tracker database.

---
 ubuntu/13.10/abstractions/totem | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ubuntu/13.10/abstractions/totem b/ubuntu/13.10/abstractions/totem
index d6606c9..73ae0b1 100644
--- a/ubuntu/13.10/abstractions/totem
+++ b/ubuntu/13.10/abstractions/totem
@@ -31,3 +31,6 @@
   owner /tmp/orcexec.* m,
 
   /usr/lib/@{multiarch}/libproxy/*/modules/*.so mr,
+
+  owner @{HOME}/.cache/tracker/meta.db k,
+  owner @{HOME}/.cache/tracker/meta.db-shm k,
-- 
1.8.4.rc3

>From 8f6d8edee1157f701c8209b209393c945a973a0f Mon Sep 17 00:00:00 2001
From: intrigeri <intrig...@boum.org>
Date: Wed, 25 Sep 2013 09:43:04 +0000
Subject: [PATCH 4/4] Allow Totem to use personal Grilo data: bookmarks, etc.

---
 ubuntu/13.10/abstractions/totem | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ubuntu/13.10/abstractions/totem b/ubuntu/13.10/abstractions/totem
index 73ae0b1..a6f02ea 100644
--- a/ubuntu/13.10/abstractions/totem
+++ b/ubuntu/13.10/abstractions/totem
@@ -34,3 +34,4 @@
 
   owner @{HOME}/.cache/tracker/meta.db k,
   owner @{HOME}/.cache/tracker/meta.db-shm k,
+  owner @{HOME}/.local/share/grilo-plugins/*.db k,
-- 
1.8.4.rc3

-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to