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

Local policy may want to extend or override abstractions, so add support for including local updates to them. Acked-by: Christian Boltz <apparmor@cboltz.de> Acked-by: intrigeri <intrigeri@boum.org> Signed-off-by: John Johansen <john.johansen@canonical.com>
17 lines
557 B
Text
17 lines
557 B
Text
# vim:syntax=apparmor
|
|
# Vulkan access requirements
|
|
|
|
# System files
|
|
/dev/dri/ r, # libvulkan_radeon.so, libvulkan_intel.so (Mesa)
|
|
/etc/vulkan/{explicit,implicit}_layer.d/{,*.json} r,
|
|
# for drmGetMinorNameForFD() from libvulkan_intel.so (Mesa)
|
|
@{sys}/devices/pci[0-9]*/*/drm/ r,
|
|
/usr/share/vulkan/icd.d/{,*.json} r,
|
|
/usr/share/vulkan/{explicit,implicit}_layer.d/{,*.json} r,
|
|
|
|
# User files
|
|
owner @{HOME}/.local/share/vulkan/implicit_layer.d/{,*.json} r,
|
|
|
|
|
|
# Include additions to the abstraction
|
|
#include if exists <abstractions/vulkan.d>
|