AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 18.118.1.63


Current Path : /proc/thread-self/root/etc/apparmor.d/abstractions/
Upload File :
Current File : //proc/thread-self/root/etc/apparmor.d/abstractions/opencl-intel

# vim:syntax=apparmor

  abi <abi/3.0>,

# OpenCL access requirements for Intel implementation

  include <abstractions/opencl-common>

  # for libcl.so (libOpenCL.so -> beignet/libcl.so calls XOpenDisplay())
  include <abstractions/X>

  # for libOpenCL.so -> beignet/libcl.so -> libpciaccess.so
  include <abstractions/dri-enumerate>

  # System files

  /dev/dri/card[0-9]* rw, # beignet/libcl.so
  @{sys}/devices/pci[0-9]*/**/{class,config,resource,revision} r, # libcl.so -> libdrm_intel.so -> libpciaccess.so (move to dri-enumerate ?)
  /usr/lib/@{multiarch}/beignet/** r,


  # Include additions to the abstraction
  include if exists <abstractions/opencl-intel.d>