logo

apparmor.d

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/apparmor.d.git

vulkan (1085B)


  1. # vim:syntax=apparmor
  2. # Vulkan access requirements
  3. abi <abi/3.0>,
  4. # System files
  5. /dev/dri/ r, # libvulkan_radeon.so, libvulkan_intel.so (Mesa)
  6. /etc/glvnd/egl_vendor.d/{*,.json} r,
  7. /etc/vulkan/icd.d/{,*.json} r,
  8. /etc/vulkan/{explicit,implicit}_layer.d/{,*.json} r,
  9. # for drmGetMinorNameForFD() from libvulkan_intel.so (Mesa)
  10. @{sys}/devices/pci[0-9]*/*/drm/ r,
  11. @{sys}/devices/pci[0-9]*/*/drm/card[0-9]/gt_{max,min}_freq_mhz r, # anv_enumerate_physical_devices() from libvulkan_intel.so
  12. @{sys}/devices/pci[0-9]*/*/drm/card[0-9]/metrics/ r, # anv_enumerate_physical_devices() from libvulkan_intel.so
  13. @{sys}/devices/pci[0-9]*/*/drm/card[0-9]/metrics/????????-????-????-????-????????????/id r, # anv_enumerate_physical_devices() from libvulkan_intel.so
  14. /usr/share/glvnd/egl_vendor.d/{,*.json} r,
  15. /usr/share/vulkan/icd.d/{,*.json} r,
  16. /usr/share/vulkan/{explicit,implicit}_layer.d/{,*.json} r,
  17. # User files
  18. owner @{HOME}/.local/share/vulkan/implicit_layer.d/{,*.json} r,
  19. # Include additions to the abstraction
  20. include if exists <abstractions/vulkan.d>