summaryrefslogtreecommitdiffstats
path: root/selinux/rild.te
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/rild.te')
-rw-r--r--[-rwxr-xr-x]selinux/rild.te20
1 files changed, 6 insertions, 14 deletions
diff --git a/selinux/rild.te b/selinux/rild.te
index 04209b0..d55d205 100755..100644
--- a/selinux/rild.te
+++ b/selinux/rild.te
@@ -1,14 +1,6 @@
-## 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 };
+allow rild proc_net:file write;
+allow rild qmuxd:unix_stream_socket connectto;
+allow rild socket_device:dir { write add_name };
+allow rild socket_device:sock_file { write create setattr };
+allow rild socket_device:dir remove_name;
+allow rild socket_device:sock_file unlink;