[ALPS03992062] split .te file

[Solution] split .te file to non_plat,private,public folder.

MTK-Commit-Id: a044f6ece04b84ceaf8809076d3167700e351bbf

Change-Id: I6282abddb5f43008a724e34367963a16b3f1e4d4
CR-Id: ALPS03992062
Feature: MTKLogger
This commit is contained in:
mtk11515 2020-01-18 10:04:53 +08:00 committed by Yuru Zhu (朱禹儒)
parent c89dbaf882
commit 1ac3d6456a
3 changed files with 26 additions and 13 deletions

View File

@ -1,17 +1,5 @@
# ==============================================
# Policy File of /system/bin/loghidlsysservice Executable File
# ==============================================
# Type Declaration
# ==============================================
type loghidlsysservice,domain;
type loghidlsysservice_exec, exec_type, file_type;
typeattribute loghidlsysservice coredomain;
# Purpose : for create hidl server
hal_server_domain(loghidlsysservice, mtk_hal_log)
# ==============================================
# MTK Policy Rule
# ==============================================
init_daemon_domain(loghidlsysservice)
allow loghidlsysservice emdlogger:unix_stream_socket connectto;
allow loghidlsysservice mobile_log_d:unix_stream_socket connectto;

View File

@ -0,0 +1,14 @@
# ==============================================
# Policy File of /system/bin/loghidlsysservice Executable File
# ==============================================
# Type Declaration
# ==============================================
type loghidlsysservice_exec, exec_type, file_type;
typeattribute loghidlsysservice coredomain;
init_daemon_domain(loghidlsysservice)
allow loghidlsysservice emdlogger:unix_stream_socket connectto;
allow loghidlsysservice mobile_log_d:unix_stream_socket connectto;

View File

@ -0,0 +1,11 @@
# ==============================================
# Policy File of /system/bin/loghidlsysservice Executable File
# ==============================================
# Type Declaration
# ==============================================
type loghidlsysservice ,domain;