From 333805494ebd78583734cbd9f63c266ba23ae657 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Fri, 17 Mar 2017 13:14:21 +0000
Subject: [PATCH] AppArmor: Consolidate gvfs rules

gvfs now has a single AppArmor profile named /usr/lib/gvfs/gvfs{d,}-*
which won't be matched by any of the old patterns.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Emanuele Aina <emanuele.aina@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D6494
---
 debian/usr.bin.prestwood | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/debian/usr.bin.prestwood b/debian/usr.bin.prestwood
index 00a308a..e8973ba 100644
--- a/debian/usr.bin.prestwood
+++ b/debian/usr.bin.prestwood
@@ -25,9 +25,7 @@
   dbus (send, receive) bus=session peer=(label=/usr/Applications/org.apertis.Frampton/bin/*),
 
   # We use GVFS remote volume monitors
-  dbus (send, receive) bus=session peer=(label=/usr/lib/gvfs/gvfs-*),
-  dbus (send, receive) bus=session peer=(label=/usr/lib/gvfs/gvfsd-*),
-  dbus (send, receive) bus=session peer=(label=/usr/lib/gvfs/gvfsd),
+  dbus (send, receive) bus=session peer=(label=/usr/lib/gvfs/gvfs*),
 
   /run/systemd/journal/{socket,stdout} rw,
 }
-- 
GitLab