summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,
+}