logo

apparmor.d

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

audio (2035B)


  1. # vim:syntax=apparmor
  2. # ------------------------------------------------------------------
  3. #
  4. # Copyright (C) 2002-2009 Novell/SUSE
  5. # Copyright (C) 2009 Canonical Ltd.
  6. #
  7. # This program is free software; you can redistribute it and/or
  8. # modify it under the terms of version 2 of the GNU General Public
  9. # License published by the Free Software Foundation.
  10. #
  11. # ------------------------------------------------------------------
  12. abi <abi/3.0>,
  13. /dev/admmidi* rw,
  14. /dev/adsp* rw,
  15. /dev/aload* rw,
  16. /dev/amidi* rw,
  17. /dev/audio* rw,
  18. /dev/dmfm* rw,
  19. /dev/dmmidi* rw,
  20. /dev/dsp* rw,
  21. /dev/midi* rw,
  22. /dev/mixer* rw,
  23. /dev/mpu401data rw,
  24. /dev/mpu401stat rw,
  25. /dev/patmgr* rw,
  26. /dev/phone* rw,
  27. /dev/radio* rw,
  28. /dev/rmidi* rw,
  29. /dev/sequencer rw,
  30. /dev/sequencer2 rw,
  31. /dev/smpte* rw,
  32. /dev/snd/* rw,
  33. /dev/sound/* rw,
  34. @{PROC}/asound/** rw,
  35. /usr/share/alsa/** r,
  36. /usr/share/sounds/** r,
  37. owner @{HOME}/.esd_auth r,
  38. /etc/asound.conf r,
  39. owner @{HOME}/.asoundrc r,
  40. /etc/esound/esd.conf r,
  41. # libao
  42. /etc/libao.conf r,
  43. owner @{HOME}/.libao r,
  44. # libcanberra
  45. owner @{HOME}/.cache/event-sound-cache.* rwk,
  46. # pulse
  47. /etc/pulse/ r,
  48. /etc/pulse/** r,
  49. /dev/shm/ r,
  50. @{run}/shm/ r,
  51. owner /dev/shm/pulse-shm* rwk,
  52. owner @{run}/shm/pulse-shm* rwk,
  53. owner @{HOME}/.pulse-cookie rwk,
  54. owner @{HOME}/.pulse/ rw,
  55. owner @{HOME}/.pulse/* rwk,
  56. owner @{run}/user/*/pulse/ rw,
  57. owner @{run}/user/*/pulse/{native,pid} rwk,
  58. owner @{HOME}/.config/pulse/*.conf r,
  59. owner @{HOME}/.config/pulse/client.conf.d/{,*.conf} r,
  60. owner @{HOME}/.config/pulse/cookie rwk,
  61. owner /tmp/pulse-*/ rw,
  62. owner /tmp/pulse-*/* rw,
  63. # libgnome2
  64. /etc/sound/ r,
  65. /etc/sound/** r,
  66. # openal
  67. /etc/alsa/conf.d/{,*} r,
  68. /etc/openal/alsoft.conf r,
  69. owner @{HOME}/.alsoftrc r,
  70. /usr/{,local/}share/openal/hrtf/{,**} r,
  71. owner @{HOME}/.local/share/openal/hrtf/{,**} r,
  72. # wildmidi
  73. /etc/wildmidi/wildmidi.cfg r,
  74. # pipewire
  75. /usr/share/pipewire/client.conf r,
  76. # Include additions to the abstraction
  77. include if exists <abstractions/audio.d>