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

Add new dri-common abstraction to contain basic DRI-specific rules. This refactoring is based on a decision to have set of dri-* abstractions for fine grained control on case-by-case basis. While dri-common is included in X abstraction by default, additional DRI-related abstractions can be introduced (such as for enumerating graphics devices) while keeping them logically together with same dri- prefix.
12 lines
360 B
Text
12 lines
360 B
Text
# vim:syntax=apparmor
|
|
|
|
# This file contains common DRI-specific rules useful for GUI applications
|
|
# (needed by libdrm and similar).
|
|
|
|
/usr/lib{,32,64}/dri/** mr,
|
|
/usr/lib/@{multiarch}/dri/** mr,
|
|
/usr/lib/fglrx/dri/** mr,
|
|
/dev/dri/** rw,
|
|
/etc/drirc r,
|
|
owner @{HOME}/.drirc r,
|
|
|