summaryrefslogtreecommitdiff
path: root/usr.share.spotify.spotify
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2016-01-17 15:33:28 +0100
committerReiner Herrmann <reiner@reiner-h.de>2016-01-17 15:33:28 +0100
commit166f5099923dbca378d80db8684236ed19cc9a77 (patch)
tree2a1f305a11bb16813e3104518e5e260f4c874fbc /usr.share.spotify.spotify
parentb45a3cf5f00825de2f15a77014321fcfa2c728a3 (diff)
added Spotify profile
Diffstat (limited to 'usr.share.spotify.spotify')
-rw-r--r--usr.share.spotify.spotify31
1 files changed, 31 insertions, 0 deletions
diff --git a/usr.share.spotify.spotify b/usr.share.spotify.spotify
new file mode 100644
index 0000000..f195e08
--- /dev/null
+++ b/usr.share.spotify.spotify
@@ -0,0 +1,31 @@
+#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,
+
+ @{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,
+
+ @{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,
+
+ owner /{dev,run}/shm/.org.chromium.* mrw,
+}