[ALPS03914002] Add sepolicy rule for EM
[Detail] 1. Add SEPolicy rule for battery log 2. Add SEPolicy rule for EM setting property MTK-Commit-Id: e59cf4c98b75739a0e2e58f098174747951bda5d Change-Id: Ic6cc12fe0a26d2fad5dd6196d598a21fd96b25cb CR-Id: ALPS03914002 Feature: Engineering Mode
This commit is contained in:
parent
4e5abd9e9a
commit
7952f3fc53
@ -196,3 +196,9 @@ set_prop(radio, mtk_debug_wifi_level_prop)
|
||||
# Operation: P migration
|
||||
# Purpose: Allow EM to set BT ssp debug mode property
|
||||
set_prop(radio, mtk_bt_sspdebug_prop)
|
||||
|
||||
# Date : 2018/05/29
|
||||
# Operation : P migration
|
||||
# Purpose : For EM access vendor property
|
||||
allow radio vendor_default_prop:file { read getattr open };
|
||||
|
||||
|
@ -60,12 +60,12 @@ allow em_svr toolbox_exec:file { getattr execute read open execute_no_trans };
|
||||
|
||||
# Date: WK1812
|
||||
# Purpose: sys file access
|
||||
#allow em_svr sysfs:file { getattr read write open };
|
||||
allow em_svr sysfs:dir { open read };
|
||||
|
||||
# Date: WK1812
|
||||
# Purpose: proc file access
|
||||
#allow em_svr proc:file { getattr open read write };
|
||||
# Date: WK1822
|
||||
# Purpose: battery temprature setting
|
||||
allow em_svr sysfs_batteryinfo:dir search;
|
||||
allow em_svr sysfs_batteryinfo:file { write open };
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user