logo

apparmor.d

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

opencl-intel (672B)


  1. # vim:syntax=apparmor
  2. abi <abi/3.0>,
  3. # OpenCL access requirements for Intel implementation
  4. include <abstractions/opencl-common>
  5. # for libcl.so (libOpenCL.so -> beignet/libcl.so calls XOpenDisplay())
  6. include <abstractions/X>
  7. # for libOpenCL.so -> beignet/libcl.so -> libpciaccess.so
  8. include <abstractions/dri-enumerate>
  9. # System files
  10. /dev/dri/card[0-9]* rw, # beignet/libcl.so
  11. @{sys}/devices/pci[0-9]*/**/{class,config,resource,revision} r, # libcl.so -> libdrm_intel.so -> libpciaccess.so (move to dri-enumerate ?)
  12. /usr/lib/@{multiarch}/beignet/** r,
  13. # Include additions to the abstraction
  14. include if exists <abstractions/opencl-intel.d>