mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-04 16:25:10 +00:00
mesa: allow reading drirc.d
Recent Mesa update introduces new denies: ``` type=AVC msg=audit(1547905564.212:523): apparmor="DENIED" operation="open" profile="supertuxkart" name="/usr/share/drirc.d/" pid=15740 comm="supertuxkart" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 ``` ``` type=AVC msg=audit(1547905896.307:548): apparmor="DENIED" operation="open" profile="supertuxkart" name="/usr/share/drirc.d/00-mesa-defaults.conf" pid=15963 c omm="supertuxkart" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 ``` Add rule to allow reading newly required paths.
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
# System files
|
# System files
|
||||||
/dev/dri/ r, # libGLX_mesa.so calls drmGetDevice2()
|
/dev/dri/ r, # libGLX_mesa.so calls drmGetDevice2()
|
||||||
|
/usr/share/drirc.d/{,*.conf} r,
|
||||||
|
|
||||||
# User files
|
# User files
|
||||||
owner @{HOME}/.cache/ w, # if user clears all caches
|
owner @{HOME}/.cache/ w, # if user clears all caches
|
||||||
|
Reference in New Issue
Block a user