[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:
parent
c89dbaf882
commit
1ac3d6456a
@ -1,17 +1,5 @@
|
|||||||
|
# ==============================================
|
||||||
# Policy File of /system/bin/loghidlsysservice Executable File
|
# 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
|
# Purpose : for create hidl server
|
||||||
hal_server_domain(loghidlsysservice, mtk_hal_log)
|
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;
|
|
||||||
|
14
plat_private/loghidlsysservice.te
Executable file
14
plat_private/loghidlsysservice.te
Executable 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;
|
11
plat_public/loghidlsysservice.te
Normal file
11
plat_public/loghidlsysservice.te
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# ==============================================
|
||||||
|
# Policy File of /system/bin/loghidlsysservice Executable File
|
||||||
|
|
||||||
|
# ==============================================
|
||||||
|
# Type Declaration
|
||||||
|
# ==============================================
|
||||||
|
type loghidlsysservice ,domain;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user