summaryrefslogtreecommitdiffstats
path: root/selinux/rild.te
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/rild.te')
-rw-r--r--selinux/rild.te6
1 files changed, 4 insertions, 2 deletions
diff --git a/selinux/rild.te b/selinux/rild.te
index 5b24906..bec55dc 100644
--- a/selinux/rild.te
+++ b/selinux/rild.te
@@ -1,5 +1,7 @@
allow rild radio_data:dir { search write remove_name getattr add_name setattr };
allow rild radio_data:file { write getattr setattr read create unlink open };
allow rild system_file:file execmod;
-allow rild efs_block_device:blk_file read;
-allow rild efs_device_file:dir search;
+allow rild efs_block_device:blk_file rw_file_perms;
+allow rild efs_device_file:dir create_dir_perms;
+allow rild efs_device_file:file { setattr create create_file_perms };
+allow rild sysfs_radio:file { read write open };