[ALPS04027106] add loghidlvendorservice.te

[Solution] add new te file

MTK-Commit-Id: cf8e436b90876a128d39a0237bde924436061495

Change-Id: I1431983b31f23795283a656998978136abc8e063
CR-Id: ALPS04027106
Feature: MTKLogger
This commit is contained in:
mtk11515 2020-01-18 10:05:26 +08:00 committed by Yuru Zhu (朱禹儒)
parent 5f38aed9a3
commit acc231471a
2 changed files with 15 additions and 1 deletions

View File

@ -2,4 +2,4 @@
# Policy File of /system/bin/loghidlsysservice Executable File
# Purpose : for create hidl server
hal_server_domain(loghidlsysservice, mtk_hal_log)
hal_client_domain(loghidlsysservice, mtk_hal_log)

View File

@ -0,0 +1,14 @@
# ==============================================
# Policy File of /system/bin/loghidlvendorservice Executable File
# ==============================================
# Type Declaration
# ==============================================
type loghidlvendorservice ,domain;
type loghidlvendorservice_exec, exec_type, file_type, vendor_file_type;
typeattribute loghidlvendorservice mlstrustedsubject;
hal_server_domain(loghidlvendorservice, mtk_hal_log)
init_daemon_domain(loghidlvendorservice)
# allow loghidlvendorservice self:capability dac_override;