diff --git a/non_plat/loghidlsysservice.te b/non_plat/loghidlsysservice.te new file mode 100644 index 0000000..b28bec6 --- /dev/null +++ b/non_plat/loghidlsysservice.te @@ -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;