Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(apparmor): Backport dri-enumerate abstraction
Browse files Browse the repository at this point in the history
AppArmor 2.12 (Ubuntu 18.04) does not have dri-enumerate abstraction,
so policy compilation fails.

Backport dri-enumerate abstraction as inline rules.
  • Loading branch information
Talkless committed Mar 25, 2019
1 parent e13b8a9 commit 79f800b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion security/apparmor/2.12.1/usr.bin.qtox
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ profile qtox /usr{,/local}/bin/qtox {
#include <abstractions/base>
#include <abstractions/dbus-accessibility>
#include <abstractions/dbus-session-strict>
#include <abstractions/dri-enumerate>
#include <abstractions/gnome>
#include <abstractions/ibus>
#include <abstractions/kde>
Expand Down Expand Up @@ -260,4 +259,8 @@ profile qtox /usr{,/local}/bin/qtox {
owner @{HOME}/.local/share/RecentDocuments/*.desktop rwl -> @{HOME}/.local/share/RecentDocuments/#[0-9]*,
owner @{HOME}/.local/share/RecentDocuments/*.lock rwk,

# Backport dri-enumerate abstraction
# commit b0456adbd86aab73e4a19013fdfed22da98ed455
/sys/devices/pci[0-9]*/**/{device,subsystem_device,subsystem_vendor,uevent,vendor} r,

}

0 comments on commit 79f800b

Please sign in to comment.