From 22c4d038df650a151d6e3f3dc3979a2cc3c726b9 Mon Sep 17 00:00:00 2001 From: Chance Callahan Date: Thu, 6 Oct 2022 11:51:03 -0400 Subject: [PATCH] Same as previous. --- selinux/wings.te | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/selinux/wings.te b/selinux/wings.te index 92da82b..5fd77aa 100644 --- a/selinux/wings.te +++ b/selinux/wings.te @@ -7,7 +7,8 @@ policy_module(wings, 1.0.0) type wings_t; type wings_exec_t; -init_daemon_domain(wings_t, wings_exec_t) +type wings_etc_t; +init_daemon_domain(wings_t, wings_exec_t, wings_etc_t) permissive wings_t; @@ -23,3 +24,9 @@ domain_use_interactive_fds(wings_t) files_read_etc_files(wings_t) miscfiles_read_localization(wings_t) + +require { + type wings_exec_t; + type bin_t; + class file execmod; +}