Merge "[ALPS03992062] Add log hidl system service te" into alps-trunk-p0.basic

Change-Id: Ic3591c37a0f5a9b72c20225324eb4147f09cf40a
MTK-Commit-Id: 3a8778863f98d69859cec094019967612c3ae524
This commit is contained in:
Yuru Zhu (朱禹儒) 2020-01-18 10:03:18 +08:00 committed by Gerrit Code Review
commit 3c967ac811

View File

@ -0,0 +1,17 @@
# 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;