media-keys: add audio abstracion.

This commit is contained in:
Alexandre Pujol 2021-07-08 18:16:22 +01:00
parent b50c926784
commit 9828ae566f
Failed to generate hash of commit

View file

@ -9,9 +9,10 @@ include <tunables/global>
@{exec_path} = /{usr/,}lib/gsd-media-keys @{exec_path} = /{usr/,}lib/gsd-media-keys
profile gsd-media-keys @{exec_path} flags=(attach_disconnected) { profile gsd-media-keys @{exec_path} flags=(attach_disconnected) {
include <abstractions/base> include <abstractions/base>
include <abstractions/nameservice-strict> include <abstractions/audio>
include <abstractions/fonts> include <abstractions/fonts>
include <abstractions/gtk> include <abstractions/gtk>
include <abstractions/nameservice-strict>
signal (receive) set=(term, hup) peer=gdm*, signal (receive) set=(term, hup) peer=gdm*,
@ -28,19 +29,13 @@ profile gsd-media-keys @{exec_path} flags=(attach_disconnected) {
/usr/share/icons/{,**} r, /usr/share/icons/{,**} r,
/usr/share/X11/xkb/** r, /usr/share/X11/xkb/** r,
owner @{user_config_dirs}/pulse/client.conf r,
owner @{user_config_dirs}/pulse/cookie rk,
owner @{user_cache_dirs}/event-sound-cache.tdb.* rwk,
owner @{user_share_dirs}/event-sound-cache.tdb.* rwk, owner @{user_share_dirs}/event-sound-cache.tdb.* rwk,
/var/lib/gdm/.config/pulse/client.conf r, /var/lib/gdm/.config/pulse/client.conf r,
owner @{run}/user/@{uid}/gdm/Xauthority r, owner @{run}/user/@{uid}/gdm/Xauthority r,
owner @{run}/user/@{uid}/pulse/ r,
@{run}/systemd/inhibit/[0-9]*.ref rw, @{run}/systemd/inhibit/[0-9]*.ref rw,
/dev/shm/ r,
include <abstractions/dconf> include <abstractions/dconf>
owner @{run}/user/@{uid}/dconf/ rw, owner @{run}/user/@{uid}/dconf/ rw,
owner @{run}/user/@{uid}/dconf/user rw, owner @{run}/user/@{uid}/dconf/user rw,