[refpolicy] [PATCH 2/2] hostname daemon init hostname from dhcpcd, try 3

Chris Richards gizmo at giz-works.com
Wed Dec 29 00:42:55 CST 2010


Add policy to hostname.te

Signed-off-by: Chris Richards <gizmo at giz-works.com>
---
 policy/modules/system/hostname.te |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/policy/modules/system/hostname.te b/policy/modules/system/hostname.te
index c310775..24e78b3 100644
--- a/policy/modules/system/hostname.te
+++ b/policy/modules/system/hostname.te
@@ -52,6 +52,7 @@ logging_send_syslog_msg(hostname_t)
 miscfiles_read_localization(hostname_t)
 
 sysnet_read_config(hostname_t)
+sysnet_rw_dhcpc_stream_sockets(hostname_t)
 sysnet_dns_name_resolve(hostname_t)
 
 optional_policy(`
-- 
1.7.3.4



More information about the refpolicy mailing list