[game-data-packager] 02/02: quake4 AppArmor: Allow more device enumeration

Simon McVittie smcv at debian.org
Sun Jun 25 01:07:53 UTC 2017


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

smcv pushed a commit to branch master
in repository game-data-packager.

commit a9c8477f30bd10311ccdc0d80a6a57bc9bd6bcdb
Author: Simon McVittie <smcv at debian.org>
Date:   Sun Jun 25 02:07:38 2017 +0100

    quake4 AppArmor: Allow more device enumeration
---
 debian/apparmor.d/usr.lib.quake4.quake4.x86 | 10 ++++++++--
 debian/changelog                            |  1 +
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/apparmor.d/usr.lib.quake4.quake4.x86 b/debian/apparmor.d/usr.lib.quake4.quake4.x86
index 6f92e65..c1c5ca6 100644
--- a/debian/apparmor.d/usr.lib.quake4.quake4.x86
+++ b/debian/apparmor.d/usr.lib.quake4.quake4.x86
@@ -38,8 +38,14 @@
   /sys/bus/ r,
   /sys/class/ r,
   /sys/class/drm/ r,
-  /sys/devices/pci[0-9]*/**/config r,
-  /sys/devices/pci[0-9]*/**/uevent r,
+  /sys/devices/pci*/**/config r,
+  /sys/devices/pci*/**/device r,
+  /sys/devices/pci*/**/revision r,
+  /sys/devices/pci*/**/subsystem_device r,
+  /sys/devices/pci*/**/subsystem_vendor r,
+  /sys/devices/pci*/**/uevent r,
+  /sys/devices/pci*/**/vendor r,
+
   # character devices 226:x are DRI
   /run/udev/data/c226:* r,
 
diff --git a/debian/changelog b/debian/changelog
index 3da6d80..bd03169 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ game-data-packager (53) UNRELEASED; urgency=medium
   * Enhancements and bug fixes:
     - Work around command line parsing of LHa decompressor as seen
       in Wheezy & RPMfusion; users of lhasa were not affected [adetiste]
+    - quake4 AppArmor: Allow more device enumeration [smcv]
 
  -- Simon McVittie <smcv at debian.org>  Mon, 12 Jun 2017 13:05:12 +0200
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list