Add SELINUX policy for mobile_log_d to save log in /data/debuglogger and for getting log from adb. MTK-Commit-Id: 8775f10bd89be7ac112cbc56daf422814f0f385f Change-Id: I39e5e1d0ccb2381ef302c187ff83a9e9cb0fa959 CR-Id: ALPS04649268 Feature: Mobile Log Tool
16 lines
453 B
Plaintext
16 lines
453 B
Plaintext
# ==============================================
|
|
# MTK Policy Rule
|
|
# ============
|
|
|
|
#permissive adbd;
|
|
|
|
# Data : WK17.46
|
|
# Operator: Migration
|
|
# Purpose: Allow adbd to read KE DB
|
|
allow adbd aee_dumpsys_data_file:file r_file_perms;
|
|
allow adbd aee_exp_data_file:dir r_dir_perms;
|
|
allow adbd aee_exp_data_file:file r_file_perms;
|
|
allow adbd gpu_device:dir search;
|
|
allow adbd debuglog_data_file:dir r_dir_perms;
|
|
allow adbd debuglog_data_file:file r_file_perms;
|