From 7c4cab5bd051a746b351c53b70e10ce82e169c0e Mon Sep 17 00:00:00 2001 From: Nehemiah Date: Thu, 16 Nov 2023 15:59:02 -0500 Subject: [PATCH] Again.. --- duoqin/sepolicy/file_contexts | 3 ++- duoqin/sepolicy/wephone.te | 4 ++-- duoqin/wephone.rc | 6 +----- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/duoqin/sepolicy/file_contexts b/duoqin/sepolicy/file_contexts index 42ee762..771f665 100644 --- a/duoqin/sepolicy/file_contexts +++ b/duoqin/sepolicy/file_contexts @@ -1 +1,2 @@ -/system/bin/wephone-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 + diff --git a/duoqin/sepolicy/wephone.te b/duoqin/sepolicy/wephone.te index a0d96dc..246f67b 100644 --- a/duoqin/sepolicy/wephone.te +++ b/duoqin/sepolicy/wephone.te @@ -1,5 +1,5 @@ -# foo service -type wephone, domain, mlstrustedsubject; +# wephone service +type wephone, domain; type wephone_exec, exec_type, file_type; init_daemon_domain(wephone) \ No newline at end of file diff --git a/duoqin/wephone.rc b/duoqin/wephone.rc index ef4579c..e2d3828 100644 --- a/duoqin/wephone.rc +++ b/duoqin/wephone.rc @@ -1,6 +1,2 @@ service wephone /system/bin/wephone-boot.sh - oneshot - disabled - -on property:sys.boot_completed=1 - start wephone \ No newline at end of file + class core