summaryrefslogtreecommitdiffstats
path: root/selinux/qmuxd.te
diff options
context:
space:
mode:
authorJason Lu <jasonbangbang@gmail.com>2016-02-20 15:42:11 -0600
committerrogersb11 <brettrogers11@gmail.com>2016-02-26 01:39:34 -0500
commitb3fde2dd7032bc838fc7ecc25499506b8f4413ee (patch)
tree6dbe74b19fd075afef8458486375eb32e037742f /selinux/qmuxd.te
parent5a1f21fb748bf64035a2211621914dabdcbfd6f2 (diff)
downloaddevice_samsung_t0lte-b3fde2dd7032bc838fc7ecc25499506b8f4413ee.tar.gz
device_samsung_t0lte-b3fde2dd7032bc838fc7ecc25499506b8f4413ee.tar.bz2
device_samsung_t0lte-b3fde2dd7032bc838fc7ecc25499506b8f4413ee.zip
t0lte: RIL SELinux Fixes
Relabel qmiproxy, at_distributor, smdexe, and diag_uart_log so init won't get denied with system_file:file { execute_no_trans }. Clean up rules so we don't have to set things to permissive. RIL is working when SELinux is enforcing with this. Change-Id: I174010d1546207037e1907d711e7f7c21871ee9e
Diffstat (limited to 'selinux/qmuxd.te')
-rw-r--r--selinux/qmuxd.te4
1 files changed, 3 insertions, 1 deletions
diff --git a/selinux/qmuxd.te b/selinux/qmuxd.te
index 2f3bd59..dfef990 100644
--- a/selinux/qmuxd.te
+++ b/selinux/qmuxd.te
@@ -49,4 +49,6 @@ allow qmuxd mhi_device:chr_file rw_file_perms;
allow qmuxd qmuxd:process { execmem };
allow qmuxd radio_device:chr_file { read write open };
-allow qmuxd log_device:chr_file { open write }; \ No newline at end of file
+allow qmuxd log_device:chr_file { open write };
+
+allow qmuxd system_file:file { execmod };