summaryrefslogtreecommitdiffstats
path: root/non_plat/radio.te
diff options
context:
space:
mode:
authorJuan Rong <juan.rong@mediatek.com>2018-06-01 15:01:10 +0800
committerJuan Rong <juan.rong@mediatek.com>2018-06-01 22:23:28 +0800
commitcdcee8fe601a984182ded4522acadfe6b70dec66 (patch)
treedd9a333777b9e8501833063bc42e5058021813e8 /non_plat/radio.te
parentb8c35170a68804f5db06878e636d4f64debab6a8 (diff)
downloaddevice_mediatek_wembley-sepolicy-cdcee8fe601a984182ded4522acadfe6b70dec66.tar.gz
device_mediatek_wembley-sepolicy-cdcee8fe601a984182ded4522acadfe6b70dec66.tar.bz2
device_mediatek_wembley-sepolicy-cdcee8fe601a984182ded4522acadfe6b70dec66.zip
[ALPS03951067] EM: selinux for battery
[Detail] allow EM access battery info Change-Id: Ic55a779d3d6883d1dd0828258ff3bf084c8d7706 CR-Id: ALPS03951067 Feature: Fuel Gauge
Diffstat (limited to 'non_plat/radio.te')
-rw-r--r--non_plat/radio.te6
1 files changed, 6 insertions, 0 deletions
diff --git a/non_plat/radio.te b/non_plat/radio.te
index 634e2de..3c524b9 100644
--- a/non_plat/radio.te
+++ b/non_plat/radio.te
@@ -202,3 +202,9 @@ set_prop(radio, mtk_bt_sspdebug_prop)
# Purpose : For EM access vendor property
allow radio vendor_default_prop:file { read getattr open };
+# Date : 2018/06/01
+# Operation : P migration
+# Purpose : For EM access battery info
+allow radio sysfs_batteryinfo:dir search;
+allow radio sysfs_batteryinfo:file { read write getattr open create};
+allow radio sysfs_vbus:file { read getattr open };