logo

apparmor.d

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

opencl-common (516B)


  1. # vim:syntax=apparmor
  2. abi <abi/3.0>,
  3. # implementation-independent OpenCL access requirements
  4. # System files
  5. /etc/OpenCL/** r,
  6. @{sys}/bus/pci/devices/ r, # libpocl.so -> libhwlock.so, libnvidia-opencl.so, beignet/libcl.so -> libdrm_intel.so
  7. @{sys}/devices/system/node/ r, # for clGetPlatformIDs() from libOpenCL.so
  8. @{sys}/devices/system/node/node[0-9]*/meminfo r, # for clGetPlatformIDs() from libOpenCL.so
  9. # Include additions to the abstraction
  10. include if exists <abstractions/opencl-common.d>