mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
Merge branch 'backport-vulkan' into 'apparmor-2.13'
Backport: Add vulkan abstraction See merge request apparmor/apparmor!266 Acked-by: Christian Boltz <apparmor@cboltz.de> for 2.10..2.13 (cherry picked from commit6249579842
)31461701
Add vulkan abstraction
This commit is contained in:
14
profiles/apparmor.d/abstractions/vulkan
Normal file
14
profiles/apparmor.d/abstractions/vulkan
Normal file
@@ -0,0 +1,14 @@
|
||||
# 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,
|
||||
|
Reference in New Issue
Block a user