Merge "[ALPS03951067] EM: selinux for battery" into alps-trunk-p0.basic
Change-Id: I4342759b16e0ad30995bafd00a4ea968b39792b9 MTK-Commit-Id: 5b6314aa27cee914dcb494aff1f13d9d1b38a6b3
This commit is contained in:
commit
bba348679c
@ -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 };
|
||||
|
@ -66,8 +66,7 @@ allow em_svr sysfs:dir { open read };
|
||||
# Purpose: battery temprature setting
|
||||
allow em_svr sysfs_batteryinfo:dir search;
|
||||
allow em_svr sysfs_batteryinfo:file { write open };
|
||||
|
||||
|
||||
r_dir_file(em_svr, sysfs_batteryinfo);
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user