summaryrefslogtreecommitdiffstats
path: root/selinux/rild.te
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/rild.te')
-rwxr-xr-xselinux/rild.te14
1 files changed, 14 insertions, 0 deletions
diff --git a/selinux/rild.te b/selinux/rild.te
new file mode 100755
index 0000000..04209b0
--- /dev/null
+++ b/selinux/rild.te
@@ -0,0 +1,14 @@
+## RIL
+allow rild radio_device:chr_file rw_file_perms;
+allow rild { efs_file }:file rw_file_perms;
+allow rild self:netlink_socket { create bind read write };
+allow rild self:netlink_route_socket { write };
+
+# Talk to qmuxd
+qmux_socket(rild)
+
+# Allow logging diagnostic items
+allow rild diagnostic_device:chr_file rw_file_perms;
+
+# XXX label with own type?
+allow rild sysfs:file { read open write getattr };