From f22572013be054c36544f7fef264ea640ec7370c Mon Sep 17 00:00:00 2001 From: "Kyunam.jo" Date: Tue, 25 Apr 2017 02:48:12 +0900 Subject: [PATCH] Added allowing at_device to port-bridge. denied { read write } for pid=749 comm="port-bridge" name="at_mdm0" dev="tmpfs" ino=22585 scontext=u:r:port-bridge:s0 tcontext=u:object_r:at_device:s0 tclass=chr_file permissive=0 denied { read write } for pid=749 comm="port-bridge" name="at_mdm0" dev="tmpfs" ino=22585 scontext=u:r:port-bridge:s0 tcontext=u:object_r:at_device:s0 tclass=chr_file permissive=0 denied { read write } for pid=749 comm="port-bridge" name="at_usb0" dev="tmpfs" ino=21293 scontext=u:r:port-bridge:s0 tcontext=u:object_r:at_device:s0 tclass=chr_file permissive=0 Bug: 37628525 Test: Taimen is no longer blocked on boot Change-Id: Ib2e1443471c822d20627286b090b2edc4de9578b --- sepolicy/port-bridge.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sepolicy/port-bridge.te b/sepolicy/port-bridge.te index 0aef2b1e..ae609d29 100644 --- a/sepolicy/port-bridge.te +++ b/sepolicy/port-bridge.te @@ -8,7 +8,7 @@ r_dir_file(port-bridge, sysfs_msm_subsys) allow port-bridge sysfs_soc:dir search; allow port-bridge sysfs_soc:file r_file_perms; -allowxperm port-bridge at_device:chr_file ioctl IPC_ROUTER_IOCTL_GET_VERSION; +allow port-bridge at_device:chr_file rw_file_perms; userdebug_or_eng(` permissive port-bridge;