summaryrefslogtreecommitdiffstats
path: root/selinux/ueventd.te
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/ueventd.te')
-rw-r--r--selinux/ueventd.te13
1 files changed, 2 insertions, 11 deletions
diff --git a/selinux/ueventd.te b/selinux/ueventd.te
index fd1852b..c26cdeb 100644
--- a/selinux/ueventd.te
+++ b/selinux/ueventd.te
@@ -1,11 +1,2 @@
-# 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;
-
+allow ueventd radio_device:file getattr;
+allow ueventd radio_device:file { write open };