summaryrefslogtreecommitdiffstats
path: root/selinux/mediaserver.te
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/mediaserver.te')
-rw-r--r--selinux/mediaserver.te11
1 files changed, 11 insertions, 0 deletions
diff --git a/selinux/mediaserver.te b/selinux/mediaserver.te
new file mode 100644
index 0000000..cbcdcb8
--- /dev/null
+++ b/selinux/mediaserver.te
@@ -0,0 +1,11 @@
+allow mediaserver { firmware_exynos }:file r_file_perms;
+allow mediaserver firmware_exynos:dir r_dir_perms;
+allow mediaserver camera_data_file:file rw_file_perms;
+allow mediaserver mfc_device:chr_file rw_file_perms;
+
+# Bluetooth audio
+allow mediaserver bluetooth:unix_stream_socket { connectto };
+
+allow mediaserver { storage_file mnt_user_file }:dir { search read };
+allow mediaserver storage_file:lnk_file read;
+allow mediaserver mnt_user_file:lnk_file read;