From 924d433c0d4ee26fe43c50d0fdac60fd6745c6af Mon Sep 17 00:00:00 2001 From: Nehemiah Date: Thu, 16 Nov 2023 15:10:17 -0500 Subject: [PATCH] Again --- duoqin/sepolicy/file_contexts | 2 +- duoqin/sepolicy/wephone.te | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/duoqin/sepolicy/file_contexts b/duoqin/sepolicy/file_contexts index f5569c3..42ee762 100644 --- a/duoqin/sepolicy/file_contexts +++ b/duoqin/sepolicy/file_contexts @@ -1 +1 @@ -/system/bin/phh-on-boot.sh u:object_r:wephone_exec:s0 \ No newline at end of file +/system/bin/wephone-boot.sh u:object_r:wephone_exec:s0 \ No newline at end of file diff --git a/duoqin/sepolicy/wephone.te b/duoqin/sepolicy/wephone.te index 21afd7b..a0d96dc 100644 --- a/duoqin/sepolicy/wephone.te +++ b/duoqin/sepolicy/wephone.te @@ -1,3 +1,5 @@ # foo service -type wephone, domain; +type wephone, domain, mlstrustedsubject; type wephone_exec, exec_type, file_type; + +init_daemon_domain(wephone) \ No newline at end of file