summaryrefslogtreecommitdiffstats
path: root/selinux/qmiproxy.te
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/qmiproxy.te')
-rw-r--r--selinux/qmiproxy.te11
1 files changed, 11 insertions, 0 deletions
diff --git a/selinux/qmiproxy.te b/selinux/qmiproxy.te
new file mode 100644
index 0000000..ae0a0b7
--- /dev/null
+++ b/selinux/qmiproxy.te
@@ -0,0 +1,11 @@
+type qmiproxy, domain;
+type qmiproxy_exec, exec_type, file_type;
+
+init_daemon_domain(qmiproxy)
+domain_trans(init, rootfs, qmiproxy)
+
+allow qmiproxy radio_prop:property_service set;
+allow qmiproxy init:unix_stream_socket connectto;
+allow qmiproxy property_socket:sock_file write;
+allow qmiproxy socket_device:dir { write add_name };
+allow qmiproxy socket_device:sock_file create;