mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(apparmor): Backport dri-enumerate abstraction
AppArmor 2.12 (Ubuntu 18.04) does not have dri-enumerate abstraction, so policy compilation fails. Backport dri-enumerate abstraction as inline rules.
This commit is contained in:
parent
e13b8a973e
commit
79f800b39a
|
@ -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>
|
||||
|
@ -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,
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user