mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
Pipewire: use tunable vars.
This commit is contained in:
parent
e085014238
commit
797701d0a0
2 changed files with 6 additions and 6 deletions
|
@ -34,8 +34,8 @@ profile pipewire @{exec_path} {
|
||||||
/dev/shm/ r,
|
/dev/shm/ r,
|
||||||
@{run}/shm/ r,
|
@{run}/shm/ r,
|
||||||
/etc/pulse/{,**} r,
|
/etc/pulse/{,**} r,
|
||||||
owner @{HOME}/.config/pulse/ rw,
|
owner @{user_config_dirs}/pulse/ rw,
|
||||||
owner @{HOME}/.config/pulse/cookie rwk,
|
owner @{user_config_dirs}/pulse/cookie rwk,
|
||||||
owner @{run}/user/@{uid}/pulse/ r,
|
owner @{run}/user/@{uid}/pulse/ r,
|
||||||
|
|
||||||
@{sys}/devices/virtual/dmi/id/product_name r,
|
@{sys}/devices/virtual/dmi/id/product_name r,
|
||||||
|
|
|
@ -17,8 +17,8 @@ profile pipewire-media-session @{exec_path} {
|
||||||
|
|
||||||
/etc/pipewire/media-session.d/*.conf r,
|
/etc/pipewire/media-session.d/*.conf r,
|
||||||
|
|
||||||
owner @{HOME}/.config/pipewire/ rw,
|
owner @{user_config_dirs}/pipewire/ rw,
|
||||||
owner @{HOME}/.config/pipewire/** rw,
|
owner @{user_config_dirs}/pipewire/** rw,
|
||||||
|
|
||||||
/dev/snd/controlC[0-9]* rw,
|
/dev/snd/controlC[0-9]* rw,
|
||||||
/dev/snd/pcmC[0-9]*D[0-9]*p rw,
|
/dev/snd/pcmC[0-9]*D[0-9]*p rw,
|
||||||
|
@ -31,8 +31,8 @@ profile pipewire-media-session @{exec_path} {
|
||||||
/dev/shm/ r,
|
/dev/shm/ r,
|
||||||
@{run}/shm/ r,
|
@{run}/shm/ r,
|
||||||
/etc/pulse/{,**} r,
|
/etc/pulse/{,**} r,
|
||||||
owner @{HOME}/.config/pulse/ rw,
|
owner @{user_config_dirs}/pulse/ rw,
|
||||||
owner @{HOME}/.config/pulse/cookie rwk,
|
owner @{user_config_dirs}/pulse/cookie rwk,
|
||||||
owner @{run}/user/@{uid}/pulse/ rw,
|
owner @{run}/user/@{uid}/pulse/ rw,
|
||||||
|
|
||||||
@{sys}/bus/ r,
|
@{sys}/bus/ r,
|
||||||
|
|
Loading…
Reference in a new issue