mtk11285 628e0eccb8 [ALPS03841705] AEE porting on Android P about selinux
[Detail]
1. add some rules
2. temp solution for getting ro.*.mediatek.version.branch/ ro.*.mediatek.version.release property

MTK-Commit-Id: 12c4d79a10293c4611233c985c29dca94f6e24ae

Change-Id: Ice4d565664f95a456f985ed138f302fe7ac4dbff
CR-Id: ALPS03841705
Feature: Android Exception Engine(AEE)
2020-01-18 09:50:43 +08:00

26 lines
798 B
Plaintext

# ==============================================
# MTK Policy Rule
# ============
# Date : WK16.46
# Purpose : allow shell to switch aee mode
allow shell aee_aed:unix_stream_socket connectto;
# Date : WK17.35
# Purpose : allow shell to dump the debugging information of camera hal.
allow shell hal_camera_hwservice:hwservice_manager { find };
binder_call(shell, mtk_hal_camera)
# Date : WK17.35
# Purpose : allow shell to set mtkcam property.
set_prop(shell, mtkcam_prop)
# Date : WK17.36
# Purpose : allow shell to dump the debugging information of power hal.
hal_client_domain(shell, hal_power)
allow shell aee_exp_vendor_file:dir r_dir_perms;
allow shell aee_exp_vendor_file:file r_file_perms;
allow shell aee_exp_data_file:dir r_dir_perms;
allow shell aee_exp_data_file:file r_file_perms;