From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E055A1389E2 for ; Fri, 28 Nov 2014 09:40:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71331E085B; Fri, 28 Nov 2014 09:40:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F19EE0870 for ; Fri, 28 Nov 2014 09:40:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 418563403FF for ; Fri, 28 Nov 2014 09:40:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E18E3B13B for ; Fri, 28 Nov 2014 09:40:50 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1417167573.91a3d6f2a32354213d8da990af4b77e6680a5fc5.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/sysnetwork.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 91a3d6f2a32354213d8da990af4b77e6680a5fc5 X-VCS-Branch: master Date: Fri, 28 Nov 2014 09:40:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0acd94e7-d9f9-4f5c-9ee3-202c07c6f65c X-Archives-Hash: 52c05242b6338384daa04d9493c96c61 Message-ID: <20141128094050.oH6Fmh1jf9DxwvQqn8y0AiePx2u-Nwf4GShvN15XT3E@z> commit: 91a3d6f2a32354213d8da990af4b77e6680a5fc5 Author: Sven Vermeulen siphos be> AuthorDate: Fri Nov 28 09:39:33 2014 +0000 Commit: Sven Vermeulen gentoo 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;