logo

apparmor.d

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

multimedia (1414B)


  1. # vim:syntax=apparmor
  2. # Users of this abstraction need to include the ubuntu-helpers abstraction
  3. # in the toplevel profile. Eg:
  4. # include <abstractions/ubuntu-helpers>
  5. abi <abi/3.0>,
  6. include <abstractions/X>
  7. # Pulseaudio
  8. /usr/bin/pulseaudio Pixr,
  9. # Image viewers
  10. /usr/bin/eog Cxr -> sanitized_helper,
  11. /usr/bin/gimp* Cxr -> sanitized_helper,
  12. /usr/bin/shotwell Cxr -> sanitized_helper,
  13. /usr/bin/digikam Cxr -> sanitized_helper,
  14. /usr/bin/gwenview Cxr -> sanitized_helper,
  15. include <abstractions/ubuntu-media-players>
  16. owner @{HOME}/.adobe/ w,
  17. owner @{HOME}/.adobe/** rw,
  18. owner @{HOME}/.macromedia/ w,
  19. owner @{HOME}/.macromedia/** rw,
  20. /opt/real/RealPlayer/mozilla/nphelix.so rm,
  21. /usr/bin/lpstat Cxr -> sanitized_helper,
  22. /usr/bin/lpr Cxr -> sanitized_helper,
  23. # Bittorrent clients
  24. include <abstractions/ubuntu-bittorrent-clients>
  25. # Archivers
  26. /usr/bin/ark Cxr -> sanitized_helper,
  27. /usr/bin/file-roller Cxr -> sanitized_helper,
  28. /usr/bin/xarchiver Cxr -> sanitized_helper,
  29. /usr/local/lib{,32,64}/*.so* mr,
  30. # News feed readers
  31. include <abstractions/ubuntu-feed-readers>
  32. # If we allow the above, nvidia based systems will also need this
  33. include <abstractions/nvidia>
  34. # Virus scanners
  35. /usr/bin/clamscan Cx -> sanitized_helper,
  36. # gxine (LP: #1057642)
  37. /var/lib/xine/gxine.desktop r,
  38. # For WebRTC camera access (LP: #1665535)
  39. /dev/video[0-9]* rw,