mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-02 01:58:27 +00:00
Fix init-thermal-logging-sh avc denied problem
11-22 15:26:24.090 W/cat (11317): type=1400 audit(0.0:6481): avc: denied { read } for name="thermal_zone41" dev="sysfs" ino=50767 scontext=u:r:init-thermal-logging-sh:s0 tcontext=u:object_r:sysfs_thermal:s0 tclass=lnk_file permissive=0
Bug: 126562025
Test: Walleye: thermal logd works normally
thermal hal works normally
thermal-engine CPU throttling works normally
Verified thermal info in dumpstate board
Change-Id: Ief4d1914629bde632cf0231ae1233b2fc703437e
Signed-off-by: TeYuan Wang <kamewang@google.com>
This commit is contained in:
3
sepolicy/vendor/file_contexts
vendored
3
sepolicy/vendor/file_contexts
vendored
@@ -243,9 +243,6 @@
|
||||
/vendor/lib/rfsa/adsp/libdspCV_skel\.so u:object_r:same_process_hal_file:s0
|
||||
/vendor/lib/rfsa/adsp/libapps_mem_heap\.so u:object_r:same_process_hal_file:s0
|
||||
|
||||
# thermal sysfs files
|
||||
/sys/class/thermal(/.*)? u:object_r:sysfs_thermal:s0
|
||||
|
||||
# data files
|
||||
/data/vendor/netmgr(/.*)? u:object_r:netmgr_data_file:s0
|
||||
/data/vendor/location(/.*)? u:object_r:location_data_file:s0
|
||||
|
||||
1
sepolicy/vendor/genfs_contexts
vendored
1
sepolicy/vendor/genfs_contexts
vendored
@@ -46,6 +46,7 @@ genfscon sysfs /devices/soc/soc:qcom,ipa_fws@1e08000 u:object
|
||||
genfscon sysfs /devices/soc/cce0000.qcom,venus u:object_r:sysfs_msm_subsys:s0
|
||||
genfscon sysfs /devices/soc/0.qcom,rmtfs_sharedmem u:object_r:sysfs_rmtfs:s0
|
||||
genfscon sysfs /devices/soc/soc:fp_fpc1020 u:object_r:sysfs_fingerprint:s0
|
||||
genfscon sysfs /class/thermal u:object_r:sysfs_thermal:s0
|
||||
genfscon sysfs /devices/virtual/thermal u:object_r:sysfs_thermal:s0
|
||||
genfscon sysfs /devices/virtual/wahoo_laser u:object_r:sysfs_laser:s0
|
||||
genfscon sysfs /module/msm_thermal u:object_r:sysfs_thermal:s0
|
||||
|
||||
Reference in New Issue
Block a user