[ALPS03938824] MTKLogger cant start modem log

SElinux opened and selinux error caused many fail

[Solution] Add permission for setpropty

MTK-Commit-Id: d866e6798a30826ae8fc2f163541f7701481c0d0

Change-Id: I8f1513896afb4a751d1838200e03e41be8763d1d
CR-Id: ALPS03938824
Feature: Modem Log Tool
This commit is contained in:
bo.shang 2020-01-18 09:53:36 +08:00 committed by Bo Shang
parent 3fc78ea571
commit 1228b041a5
2 changed files with 2 additions and 0 deletions

View File

@ -77,5 +77,6 @@ allow emdlogger sysfs_dt_firmware_android:dir search;
allow emdlogger sysfs_dt_firmware_android:file read; allow emdlogger sysfs_dt_firmware_android:file read;
allow emdlogger system_file:dir open; allow emdlogger system_file:dir open;
allow emdlogger vendor_default_prop:file { read getattr open }; allow emdlogger vendor_default_prop:file { read getattr open };
allow emdlogger vendor_default_prop:property_service { set };

View File

@ -104,3 +104,4 @@ allow netdiag self:udp_socket { ioctl create };
allow netdiag proc_qtaguid_stat:dir { read open }; allow netdiag proc_qtaguid_stat:dir { read open };
allow netdiag proc_qtaguid_stat:file { read getattr open }; allow netdiag proc_qtaguid_stat:file { read getattr open };
allow netdiag vendor_default_prop:file { read getattr open }; allow netdiag vendor_default_prop:file { read getattr open };
allow netdiag vendor_default_prop:property_service { set };