[refpolicy] [PATCH 1/1]: wm: consolidate networkmanger interface calls into single optional

David Sugar dsugar at tresys.com
Wed Aug 30 16:09:53 UTC 2017


There was a networkmanager_* interface use not in an optional block.  I moved it into an existing optional block that already had another networkmanager_* interface use.
---
 wm.te | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/wm.te b/wm.te
index 65b57a4..5986812 100644
--- a/wm.te
+++ b/wm.te
@@ -70,8 +70,6 @@ miscfiles_read_fonts(wm_domain)
 miscfiles_read_generic_certs(wm_domain)
 miscfiles_read_localization(wm_domain)
 
-networkmanager_read_etc_files(wm_domain)
-
 udev_read_pid_files(wm_domain)
 
 # the following is needed by gnome-shell
@@ -123,6 +121,7 @@ optional_policy(`
 
 optional_policy(`
 	networkmanager_dbus_chat(wm_domain)
+	networkmanager_read_etc_files(wm_domain)
 ')
 
 optional_policy(`
-- 
2.13.5


More information about the refpolicy mailing list