diff --git a/duoqin/sepolicy/wephone.te b/duoqin/sepolicy/wephone.te index 246f67b..4d52e4a 100644 --- a/duoqin/sepolicy/wephone.te +++ b/duoqin/sepolicy/wephone.te @@ -1,5 +1,5 @@ -# wephone service -type wephone, domain; type wephone_exec, exec_type, file_type; -init_daemon_domain(wephone) \ No newline at end of file +domain_auto_trans(init, wephone_exec); + +allow { appdomain shell } wephone:file { getattr read open execute execute_no_trans }; \ No newline at end of file