commit:     6ebb5fbf42a00295958c71b7f3281c728f3ce7a8
Author:     Jason Zaman <jason <AT> perfinion <DOT> com>
AuthorDate: Fri Aug  8 11:27:03 2014 +0000
Commit:     Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Fri Aug  8 11:27:03 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=6ebb5fbf

Allow resolvconf to configure dnsmasq

Resolvconf needs to be able to set which dns servers dnsmasq uses.
Bug #519240

---
 policy/modules/contrib/resolvconf.te | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/policy/modules/contrib/resolvconf.te 
b/policy/modules/contrib/resolvconf.te
index 7fbd00d..32cba23 100644
--- a/policy/modules/contrib/resolvconf.te
+++ b/policy/modules/contrib/resolvconf.te
@@ -44,6 +44,11 @@ optional_policy(`
        term_dontaudit_use_console(resolvconf_t)
 ')
 
+optional_policy(`
+       dnsmasq_read_config(resolvconf_t)
+       dnsmasq_write_config(resolvconf_t)
+')
+
 #########################################
 #
 # Resolvconf client policy

Reply via email to