commit:     9758e5c10c99ed6be3cd889f1bbb1c34e1dda38a
Author:     Jason Zaman <jason <AT> perfinion <DOT> com>
AuthorDate: Tue Jan 20 14:57:05 2015 +0000
Commit:     Jason Zaman <gentoo <AT> perfinion <DOT> com>
CommitDate: Mon Jan 26 06:42:28 2015 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=9758e5c1

networkmanager: run dispatch scripts in initrc_t domain

---
 policy/modules/contrib/networkmanager.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/contrib/networkmanager.te 
b/policy/modules/contrib/networkmanager.te
index d8dcaee..dc381b8 100644
--- a/policy/modules/contrib/networkmanager.te
+++ b/policy/modules/contrib/networkmanager.te
@@ -377,6 +377,7 @@ ifdef(`distro_gentoo',`
        # listing /etc/NetworkManager/dispatch.d/
        list_dirs_pattern(NetworkManager_t, NetworkManager_initrc_exec_t, 
NetworkManager_initrc_exec_t)
        read_files_pattern(NetworkManager_t, NetworkManager_initrc_exec_t, 
NetworkManager_initrc_exec_t)
+       init_labeled_script_domtrans(NetworkManager_t, 
NetworkManager_initrc_exec_t)
 
        optional_policy(`
                resolvconf_client_domain(NetworkManager_t)

Reply via email to