[ALPS03992062] Add log hidl system service te
[Solution] add te file for log hidl MTK-Commit-Id: 195cb6d5dc1bccdccc67769314e99844c49e3f22 Change-Id: Ifc54914f7329201e0703f085b16552140c813cda CR-Id: ALPS03992062 Feature: MTKLogger
This commit is contained in:
parent
1cc7505c70
commit
bc1c6ae908
17
non_plat/loghidlsysservice.te
Normal file
17
non_plat/loghidlsysservice.te
Normal 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;
|
Loading…
x
Reference in New Issue
Block a user