health: Grant sysfs_thermal access to health
health-service has trouble accessing /dev/thermal. This change fixes this. Bug: 226009696 Test: dev/thermal/tz-by-name/soc/mode error:Permission denied no longer exist Signed-off-by: George Lee <geolee@google.com> Change-Id: I8d112cb12f3aeb1c8d5433ca69415d0413f070a2 Merged-In: I4d9491862ff1bcc88f89b1478497ac569e3d1df1
This commit is contained in:
parent
ae6f085676
commit
17981f9fc0
2 changed files with 4 additions and 2 deletions
|
@ -213,8 +213,6 @@ genfscon sysfs /module/gs_thermal/parameters/tmu_top_reg_dump_fall_thres u:obj
|
|||
genfscon sysfs /module/gs_thermal/parameters/tmu_sub_reg_dump_rise_thres u:object_r:sysfs_thermal:s0
|
||||
genfscon sysfs /module/gs_thermal/parameters/tmu_sub_reg_dump_fall_thres u:object_r:sysfs_thermal:s0
|
||||
|
||||
genfscon sysfs /thermal_zone14/mode u:object_r:sysfs_thermal:s0
|
||||
|
||||
# Camera
|
||||
genfscon sysfs /devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfreq_intcam/min_freq u:object_r:sysfs_camera:s0
|
||||
genfscon sysfs /devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/min_freq u:object_r:sysfs_camera:s0
|
||||
|
|
|
@ -9,3 +9,7 @@ allow hal_health_default sysfs_scsi_devices_0000:file rw_file_perms;
|
|||
|
||||
allow hal_health_default sysfs_wlc:dir search;
|
||||
allow hal_health_default sysfs_batteryinfo:file w_file_perms;
|
||||
allow hal_health_default sysfs_thermal:dir search;
|
||||
allow hal_health_default sysfs_thermal:file w_file_perms;
|
||||
allow hal_health_default sysfs_thermal:lnk_file read;
|
||||
allow hal_health_default thermal_link_device:dir search;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue