[ALPS03867358] Thermal: P Migration
[Detail] System cannot execute vendor in Android P. Need Remove violated policies. [Solution] Remove related violated policys. MTK-Commit-Id: 5b111d320a150b06e8900b374c1f55a29ca38e5d Change-Id: Ia36502819979925df3846d8c13c7a8bba89ed077 CR-Id: ALPS03867358 Feature: Thermal Management Signed-off-by: jerry-sc.wu <jerry-sc.wu@mediatek.com>
This commit is contained in:
parent
7a3f9b9cc0
commit
dbcc1e21fa
@ -311,9 +311,7 @@ allow cameraserver gpu_device:dir search;
|
|||||||
allow cameraserver property_socket:sock_file write;
|
allow cameraserver property_socket:sock_file write;
|
||||||
allow cameraserver proc:file getattr;
|
allow cameraserver proc:file getattr;
|
||||||
allow cameraserver shell_exec:file { execute read getattr open};
|
allow cameraserver shell_exec:file { execute read getattr open};
|
||||||
domain_auto_trans(cameraserver, thermal_manager_exec, thermal_manager)
|
|
||||||
typeattribute cameraserver system_executes_vendor_violators;
|
typeattribute cameraserver system_executes_vendor_violators;
|
||||||
allow cameraserver thermal_manager_exec:file { read getattr open execute};
|
|
||||||
allow cameraserver init:unix_stream_socket connectto;
|
allow cameraserver init:unix_stream_socket connectto;
|
||||||
|
|
||||||
# Date : WK16.32
|
# Date : WK16.32
|
||||||
|
@ -303,10 +303,7 @@ allow mediaserver camera_tsf_device:chr_file rw_file_perms;
|
|||||||
# Date : WK1631
|
# Date : WK1631
|
||||||
# Operation : N Migration
|
# Operation : N Migration
|
||||||
# Purpose : add permission for thermal manager
|
# Purpose : add permission for thermal manager
|
||||||
domain_auto_trans(mediaserver, thermal_manager_exec, thermal_manager)
|
|
||||||
typeattribute mediaserver system_executes_vendor_violators;
|
typeattribute mediaserver system_executes_vendor_violators;
|
||||||
#allow mediaserver thermal_manager_exec:file { read getattr open execute};
|
|
||||||
allow mediaserver thermal_manager_exec:file { read getattr open};
|
|
||||||
|
|
||||||
# Date : WK16.32
|
# Date : WK16.32
|
||||||
# Operation : N Migration
|
# Operation : N Migration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user