summaryrefslogtreecommitdiff
path: root/usr.share.spotify.spotify
blob: a65cddbdf579887228087b3f3740807e0bb50174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include <tunables/global>

/usr/share/spotify/spotify {
  #include <abstractions/audio>
  #include <abstractions/base>
  #include <abstractions/fonts>
  #include <abstractions/nameservice>
  #include <abstractions/user-tmp>
  #include <abstractions/freedesktop.org>
  #include <abstractions/X>

  /usr/share/spotify/** rmix,

  /bin/dash rix,
  /usr/bin/zenity rix,
  /usr/share/glib-2.0/schemas/gschemas.compiled r,

  @{HOME}/.cache/spotify/ rw,
  @{HOME}/.cache/spotify/** rwk,
  @{HOME}/.config/spotify/ rw,
  @{HOME}/.config/spotify/** rw,
  @{HOME}/.local/share/spotify/ rw,
  @{HOME}/.local/share/spotify/** rw,

  @{HOME}/Musik/ r,
  @{HOME}/Musik/** r,

  @{PROC}/@{pid}/fd/ r,
  @{PROC}/@{pid}/auxv r,
  @{PROC}/@{pid}/task/ r,
  @{PROC}/@{pid}/task/@{pid}/stat r,
  @{PROC}/@{pid}/status r,
  @{PROC}/sys/kernel/shmmax r,
  /sys/bus/pci/devices/ r,
  /sys/devices/** r,
  /dev/dri/ r,

  owner /{dev,run}/shm/.org.chromium.* mrw,
}