Merge "[ALPS03914002] Add sepolicy rule for EM" into alps-trunk-p0.basic
Change-Id: I5c768f5071bb72fb6f9381e7bfada2d5560b010e MTK-Commit-Id: 458bba642d58b96a046575e9e696a854e4599f77
This commit is contained in:
commit
e6294bbe3f
@ -196,3 +196,9 @@ set_prop(radio, mtk_debug_wifi_level_prop)
|
|||||||
# Operation: P migration
|
# Operation: P migration
|
||||||
# Purpose: Allow EM to set BT ssp debug mode property
|
# Purpose: Allow EM to set BT ssp debug mode property
|
||||||
set_prop(radio, mtk_bt_sspdebug_prop)
|
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
|
# Date: WK1812
|
||||||
# Purpose: sys file access
|
# Purpose: sys file access
|
||||||
#allow em_svr sysfs:file { getattr read write open };
|
|
||||||
allow em_svr sysfs:dir { open read };
|
allow em_svr sysfs:dir { open read };
|
||||||
|
|
||||||
# Date: WK1812
|
# Date: WK1822
|
||||||
# Purpose: proc file access
|
# Purpose: battery temprature setting
|
||||||
#allow em_svr proc:file { getattr open read write };
|
allow em_svr sysfs_batteryinfo:dir search;
|
||||||
|
allow em_svr sysfs_batteryinfo:file { write open };
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user