[Detail] Google add a new tag in Android P system/sepolicy/vendor/hal_thermal_default.te Need to add mtktz and /proc/stat grant permission for thermal HAL. [Solution] Add grant permission in both devicemediateksepolicybasicnon_plathal_thermal_default.te devicemediateksepolicybasicnon_platmerged_hal_service.te MTK-Commit-Id: b4e6eb391c134c4c4580fd352a0aa8fec56b0a5a Change-Id: Ifb0aa31bf47d105429be2dad60477747f1009a5d Signed-off-by: jerry-sc.wu <jerry-sc.wu@mediatek.com> CR-Id: ALPS03946757 Feature: Thermal Management
9 lines
284 B
Plaintext
Executable File
9 lines
284 B
Plaintext
Executable File
|
|
# Date : WK18.23
|
|
# Operation : P Migration
|
|
# Purpose : add grant permission for Thermal HAL mtktz and proc
|
|
|
|
allow hal_thermal_default proc_mtktz:dir search;
|
|
allow hal_thermal_default proc_mtktz:file {open read getattr};
|
|
allow hal_thermal_default proc_stat:file {open read getattr };
|