[ALPS04316338] EM: battery temperature settings
[Detail] Add sepolicy rule to set battery temperature MTK-Commit-Id: 9fcd042bd04632fa952af7ac51833695b8a50f7c Change-Id: I82b8b6649849403a1b1cd8a2e5093a3664719bc2 CR-Id: ALPS04316338 Feature: Engineering Mode
This commit is contained in:
parent
6594dfe902
commit
03dda6b5df
@ -55,3 +55,7 @@ allow em_svr sysfs_pmu:lnk_file { read };
|
||||
# Purpose : EM Power debug_log setting
|
||||
allow em_svr sysfs_spm:dir { search };
|
||||
allow em_svr sysfs_spm:file { open read write };
|
||||
|
||||
# Date: 2019/04/09
|
||||
# Purpose: battery temprature setting
|
||||
allow em_svr sysfs_battery_temp:file w_file_perms;
|
||||
|
@ -330,3 +330,7 @@ type sysfs_mmcblk, fs_type, sysfs_type;
|
||||
|
||||
# Vibrator vibrate file
|
||||
type sysfs_leds_setting, fs_type, sysfs_type;
|
||||
|
||||
# Date : 2019/04/09
|
||||
# Purpose: mtk EM battery temprature settings
|
||||
type sysfs_battery_temp, fs_type, sysfs_type;
|
||||
|
@ -115,3 +115,7 @@ genfscon sysfs /devices/virtual/usb_rawbulk u:object_r:sys_usb_rawbulk:s0
|
||||
#Purpose: allow mdlogger to read mdinfo file
|
||||
genfscon sysfs /kernel/md/mdee u:object_r:sysfs_mdinfo:s0
|
||||
|
||||
# Date : 2019/04/09
|
||||
# Purpose: mtk EM battery temprature settings
|
||||
genfscon sysfs /devices/platform/battery/Battery_Temperature u:object_r:sysfs_battery_temp:s0
|
||||
|
||||
|
@ -65,17 +65,4 @@ allow em_svr sysfs:dir { open read };
|
||||
# Date: WK1822
|
||||
# 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