[ALPS03852480] add sepolicy for mediacodec getattr proc_thermal

[Detail]
Add sepolicy for mediacodec since SW decoder would control CPU freq and will need to getattr proc_thermal

MTK-Commit-Id: 5ce3aa68771bdb3af46a43b1c3455d365256c99c

Change-Id: I4ca98c4ae7b06e616e19f582190826beec490a04
CR-Id: ALPS03852480
Feature: VP9 Decoder
(cherry picked from commit f173ea13c62696f30465a4cb23061e1512c0ae1f)
This commit is contained in:
mkt15300 2020-01-18 09:45:32 +08:00 committed by Tommy Chen
parent 76068b3e34
commit 59d02b5260

View File

@ -95,7 +95,7 @@ allow mediacodec proc_mtktz:dir search;
allow mediacodec proc_thermal:dir search;
allow mediacodec proc_mtkcooler:file { read write open };
allow mediacodec proc_mtktz:file { read write open getattr };
allow mediacodec proc_thermal:file { read write open };
allow mediacodec proc_thermal:file { read write open getattr};
allow mediacodec thermal_manager_data_file:file create_file_perms;
allow mediacodec thermal_manager_data_file:dir { rw_dir_perms setattr };
allow mediacodec thermal_manager_data_file:dir search;