summaryrefslogtreecommitdiffstats
path: root/selinux/ueventd.te
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/ueventd.te')
-rw-r--r--selinux/ueventd.te11
1 files changed, 11 insertions, 0 deletions
diff --git a/selinux/ueventd.te b/selinux/ueventd.te
new file mode 100644
index 0000000..fd1852b
--- /dev/null
+++ b/selinux/ueventd.te
@@ -0,0 +1,11 @@
+# Drivers read firmware files /firmware/image
+allow ueventd { radio_efs_file }:file r_file_perms;
+allow ueventd { radio_efs_file }:dir search;
+
+# MFC firmware
+allow ueventd { firmware_mfc }:file r_file_perms;
+
+# Camera related firmwares
+allow ueventd { firmware_camera }:dir search;
+allow ueventd { firmware_camera }:file r_file_perms;
+