logo

apparmor.d

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

nvidia (940B)


  1. # vim:syntax=apparmor
  2. # nvidia access requirements
  3. abi <abi/3.0>,
  4. # configuration queries
  5. capability ipc_lock,
  6. /usr/share/nvidia/nvidia-application-profiles* r,
  7. # libvdpau config file for nvidia workarounds
  8. /etc/vdpau_wrapper.cfg r,
  9. # device files
  10. /dev/nvidiactl rw,
  11. /dev/nvidia-modeset rw,
  12. /dev/nvidia[0-9]* rw,
  13. @{PROC}/interrupts r,
  14. @{PROC}/sys/vm/max_map_count r,
  15. @{PROC}/driver/nvidia/params r,
  16. @{PROC}/modules r,
  17. @{sys}/devices/system/memory/block_size_bytes r,
  18. owner @{HOME}/.cache/nvidia/ w,
  19. owner @{HOME}/.cache/nvidia/GLCache/ rw,
  20. owner @{HOME}/.cache/nvidia/GLCache/** rwk,
  21. owner @{HOME}/.nv/ w,
  22. owner @{HOME}/.nv/GLCache/ rw,
  23. owner @{HOME}/.nv/GLCache/** rwk,
  24. owner @{PROC}/@{pid}/comm r, # somehwere in libnvidia-glcore.so
  25. unix (send, receive) type=dgram peer=(addr="@nvidia[0-9a-f]*"),
  26. # Include additions to the abstraction
  27. include if exists <abstractions/nvidia.d>