mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-06 17:31:01 +01:00

Create new dri-enumerate abstraction with rules needed for some GUI applications allowing to get GPU device information.
9 lines
357 B
Text
9 lines
357 B
Text
# vim:syntax=apparmor
|
|
|
|
# This file contains common DRI-specific rules useful for GUI applications that
|
|
# needs to enumerate graphic devices (as with drmParsePciDeviceInfo() from
|
|
# libdrm).
|
|
|
|
# TODO: use @{sys} after it's moved into tunables/kernelvars (LP: #1728551)
|
|
/sys/devices/pci[0-9]*/**/{device,subsystem_device,subsystem_vendor,uevent,vendor} r,
|
|
|