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

Commit b5be596460
added ability to read
/usr/share/drirc.d/ directory to mesa abstraction.
This seems to be a mistake, as it was noted that not all GUI
applications, that need access to drirc.d, also need whole mesa-related
rules (including writing caches).
Move /usr/share/drirc.d/ access to different abstraction. This is not a
breaking change, because any GUI application will have included X
abstraction already, and in the end result - dri-common abstraction too.
16 lines
488 B
Text
16 lines
488 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,
|
|
/usr/share/drirc.d/{,*.conf} r,
|
|
owner @{HOME}/.drirc r,
|
|
|
|
|
|
# Include additions to the abstraction
|
|
#include if exists <abstractions/dri-common.d>
|