commit: 6a83af6917028efbce2bc00e2f9c8d850f42ed4d
Author: David Sugar <dsugar <AT> tresys <DOT> com>
AuthorDate: Wed Aug 30 16:09:53 2017 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Fri Sep 8 22:48:51 2017 +0000
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=6a83af69
wm: consolidate networkmanger interface calls into single optional
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.
policy/modules/contrib/wm.te | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/policy/modules/contrib/wm.te b/policy/modules/contrib/wm.te
index 65b57a4a..5986812f 100644
--- a/policy/modules/contrib/wm.te
+++ b/policy/modules/contrib/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(`