summaryrefslogtreecommitdiffstats
path: root/selinux/tinyplay.te
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/tinyplay.te')
-rw-r--r--selinux/tinyplay.te6
1 files changed, 6 insertions, 0 deletions
diff --git a/selinux/tinyplay.te b/selinux/tinyplay.te
new file mode 100644
index 0000000..ef7de81
--- /dev/null
+++ b/selinux/tinyplay.te
@@ -0,0 +1,6 @@
+type tinyplay, domain;
+type tinyplay_exec, exec_type, file_type;
+init_daemon_domain(tinyplay)
+
+allow tinyplay audio_device:chr_file { open read write ioctl };
+allow tinyplay audio_device:dir search;