diff --git a/non_plat/loghidlsysservice.te b/non_plat/loghidlsysservice.te index b28bec6..0444c20 100644 --- a/non_plat/loghidlsysservice.te +++ b/non_plat/loghidlsysservice.te @@ -1,17 +1,5 @@ +# ============================================== # 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; diff --git a/plat_private/loghidlsysservice.te b/plat_private/loghidlsysservice.te new file mode 100755 index 0000000..4e7b9c0 --- /dev/null +++ b/plat_private/loghidlsysservice.te @@ -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; diff --git a/plat_public/loghidlsysservice.te b/plat_public/loghidlsysservice.te new file mode 100644 index 0000000..aa06ac7 --- /dev/null +++ b/plat_public/loghidlsysservice.te @@ -0,0 +1,11 @@ +# ============================================== +# Policy File of /system/bin/loghidlsysservice Executable File + +# ============================================== +# Type Declaration +# ============================================== +type loghidlsysservice ,domain; + + + +