[Detail] The mode of sepolicy files should be -rw-r--r--, and the type should be ASCII text with Unix/Linux format. [Solution] 1.Use chmod 0644 to change sepolicy files mode. 2.Use iconv -t ASCII and dos2unix to change sepolicy files type and format. MTK-Commit-Id: ee386fd7ca89105f70b96f6b58c5f0e372fe9a4b Change-Id: Iac13b1ea8a4546168f68a7918acdcdb0588f6630 CR-Id: ALPS04968083 Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
9 lines
284 B
Plaintext
9 lines
284 B
Plaintext
|
|
# 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 };
|