2020-01-18 09:30:40 +08:00
|
|
|
# Date: WK1812
|
|
|
|
# Purpose: add for sensor calibration
|
|
|
|
allow em_svr als_ps_device:chr_file { read open ioctl };
|
|
|
|
allow em_svr gsensor_device:chr_file { read open ioctl };
|
|
|
|
|
|
|
|
# Date: WK1812
|
|
|
|
# Purpose: add for MD log filter
|
|
|
|
allow em_svr md_block_device:blk_file { read open };
|
|
|
|
|
|
|
|
# Date: WK1812
|
|
|
|
# Purpose: add for SIB capture
|
2020-01-18 10:02:13 +08:00
|
|
|
allow em_svr para_block_device:blk_file { read open write};
|
2020-01-18 09:30:40 +08:00
|
|
|
allow em_svr proc_lk_env:file { read write ioctl open };
|
|
|
|
|
|
|
|
# Date: WK1812
|
|
|
|
# Purpose: add for MSDC get/set
|
2020-01-18 09:29:32 +08:00
|
|
|
allow em_svr misc_sd_device:chr_file { read open ioctl };
|
2020-01-18 09:30:40 +08:00
|
|
|
|
|
|
|
# Date: WK1812
|
|
|
|
# Purpose: add for battery log
|
2020-01-18 09:38:47 +08:00
|
|
|
allow em_svr proc_battery_cmd:dir { search };
|
2020-01-18 09:30:40 +08:00
|
|
|
allow em_svr proc_battery_cmd:file { create write open };
|
|
|
|
|
|
|
|
# Date: WK1812
|
|
|
|
# Purpose: add for light/proximity sensor
|
|
|
|
allow em_svr nvram_device:blk_file { open read write };
|
|
|
|
|
|
|
|
# Date: WK1812
|
|
|
|
# Purpose: add for Gyroscope sensor
|
2020-01-18 09:29:32 +08:00
|
|
|
allow em_svr gyroscope_device:chr_file { read ioctl open };
|
2020-01-18 10:01:41 +08:00
|
|
|
|
|
|
|
# Date : 2018/06/15
|
|
|
|
# Purpose : Allow EM access touchscreen settings
|
2020-01-18 10:06:49 +08:00
|
|
|
allow em_svr sysfs_tpd_debug:dir { search };
|
|
|
|
allow em_svr sysfs_tpd_setting:dir { search };
|
|
|
|
allow em_svr sysfs_tpd_debug:file { rw_file_perms };
|
|
|
|
allow em_svr sysfs_tpd_setting:file { rw_file_perms };
|
2020-01-18 10:01:41 +08:00
|
|
|
|
|
|
|
# Date : 2018/06/15
|
|
|
|
# Purpose : EM FreqHopping setting
|
|
|
|
allow em_svr proc_freqhop:file { open read write };
|
|
|
|
|
|
|
|
# Date : 2018/06/15
|
|
|
|
# Purpose : EM flash reading
|
|
|
|
allow em_svr proc_flash:file { open read };
|
|
|
|
allow em_svr proc_partition:file { open read };
|
|
|
|
|
|
|
|
# Date : 2018/06/15
|
|
|
|
# Purpose : EM Power PMU reading/setting
|
|
|
|
allow em_svr sysfs_pmu:dir { search };
|
|
|
|
allow em_svr sysfs_pmu:file { open read write };
|
|
|
|
allow em_svr sysfs_pmu:lnk_file { read };
|
|
|
|
|
|
|
|
# Date : 2018/06/15
|
|
|
|
# Purpose : EM Power debug_log setting
|
|
|
|
allow em_svr sysfs_spm:dir { search };
|
|
|
|
allow em_svr sysfs_spm:file { open read write };
|