summaryrefslogtreecommitdiffstats
path: root/selinux/qmuxd.te
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-11-27 23:45:35 +0100
committerRGIB <gibellini.roberto@gmail.com>2016-11-27 23:45:35 +0100
commit1e3c6c4a20cde875b23c69afd4025c492511e822 (patch)
tree1d356fd78e138ac33c1d1dc99a890594ca0a440c /selinux/qmuxd.te
parentbae7ee3f1d348c29f8eb604ce774d22757460927 (diff)
downloaddevice_samsung_i9305-1e3c6c4a20cde875b23c69afd4025c492511e822.zip
device_samsung_i9305-1e3c6c4a20cde875b23c69afd4025c492511e822.tar.gz
device_samsung_i9305-1e3c6c4a20cde875b23c69afd4025c492511e822.tar.bz2
i9305 : update selinux policies for MM
Change-Id: Ia96cb118083b20e87b94412ab5072be34cd6e806
Diffstat (limited to 'selinux/qmuxd.te')
-rw-r--r--selinux/qmuxd.te13
1 files changed, 13 insertions, 0 deletions
diff --git a/selinux/qmuxd.te b/selinux/qmuxd.te
new file mode 100644
index 0000000..4ef03ec
--- /dev/null
+++ b/selinux/qmuxd.te
@@ -0,0 +1,13 @@
+type qmuxd, domain;
+type qmuxd_exec, exec_type, file_type;
+
+init_daemon_domain(qmuxd)
+domain_trans(init, rootfs, qmuxd)
+
+allow qmuxd radio_device:chr_file { read write open };
+allow qmuxd radio_device:dir search;
+allow qmuxd radio_device:file { write open };
+allow qmuxd socket_device:dir { write remove_name add_name };
+allow qmuxd socket_device:sock_file { create unlink getattr setattr };
+allow qmuxd self:capability { setuid setpcap };
+allow qmuxd sysfs_wake_lock:file { open append };