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