commit: 91a3d6f2a32354213d8da990af4b77e6680a5fc5
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Fri Nov 28 09:39:33 2014 +0000
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Fri Nov 28 09:39:33 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=91a3d6f2
Fix bug 530898 - Enable netlink interaction from dhcpcd
---
policy/modules/system/sysnetwork.te | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/policy/modules/system/sysnetwork.te
b/policy/modules/system/sysnetwork.te
index d053ee2..3576536 100644
--- a/policy/modules/system/sysnetwork.te
+++ b/policy/modules/system/sysnetwork.te
@@ -402,6 +402,12 @@ ifdef(`distro_gentoo',`
# Fixes bug 468874
allow dhcpc_t self:rawip_socket create_socket_perms;
+ # Fixes bug 530898
+ allow dhcpc_t self:netlink_kobject_uevent_socket
client_stream_socket_perms;
+ # Also mentioned as AVCs in bug 530898. Not certain if this is needed
but considering
+ # the dhcpc_t use case we currently allow it
+ allow dhcpc_t self:netlink_socket client_stream_socket_perms;
+
# Allow dhcpcd to set its control sockets
allow dhcpc_t dhcpc_var_run_t:sock_file manage_sock_file_perms;