From cffb2de42ce30e6dcb448d43596fadc3eb51d0cb Mon Sep 17 00:00:00 2001 From: Nehemiah Date: Thu, 16 Nov 2023 21:08:25 -0500 Subject: [PATCH] And again --- duoqin/sepolicy/wephone.te | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/duoqin/sepolicy/wephone.te b/duoqin/sepolicy/wephone.te index 9c9af83..8936595 100644 --- a/duoqin/sepolicy/wephone.te +++ b/duoqin/sepolicy/wephone.te @@ -1,5 +1,9 @@ -type wephone_exec, exec_type, file_type; +# wephone service +type wephone, domain; +type wephone_exec, exec_type, vendor_file_type, file_type; -domain_auto_trans(init, wephone_exec); +typeattribute wephone coredomain; + +init_daemon_domain(foo) allow { appdomain shell } wephone_exec:file { getattr read open execute execute_no_trans }; \ No newline at end of file