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 C839F138CD0 for ; Sat, 30 May 2015 13:07:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42303E0941; Sat, 30 May 2015 13:07:41 +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 EE244E0941 for ; Sat, 30 May 2015 13:07:40 +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 CC84934076D for ; Sat, 30 May 2015 13:07:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F8E89ED for ; Sat, 30 May 2015 13:07:36 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1432989774.23a0cb85e78deca55835b7e4964a8c19d6aa508e.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/portage.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 23a0cb85e78deca55835b7e4964a8c19d6aa508e X-VCS-Branch: master Date: Sat, 30 May 2015 13:07:36 +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: 1ddd8909-987b-44c7-af36-531dfaeb52cd X-Archives-Hash: 0103f153831a2b0a6eb7d622977ce2d6 commit: 23a0cb85e78deca55835b7e4964a8c19d6aa508e Author: Jason Zaman perfinion com> AuthorDate: Sat May 30 12:42:54 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat May 30 12:42:54 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=23a0cb85 portage: connect all unreserved for FTP PASV mode. FTP PASV mode does not use specific ports, so the only way is to allow all unreserved. avc: denied { name_connect } for pid=5274 comm="wget" dest=26213 scontext=root:sysadm_r:portage_fetch_t tcontext=system_u:object_r:unreserved_port_t tclass=tcp_socket permissive=0 Gentoo bug 540056 policy/modules/contrib/portage.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/contrib/portage.te b/policy/modules/contrib/portage.te index 83d6ab4..2e8ab9e 100644 --- a/policy/modules/contrib/portage.te +++ b/policy/modules/contrib/portage.te @@ -295,6 +295,8 @@ corenet_sendrecv_rsync_client_packets(portage_fetch_t) # it occasionally comes up corenet_tcp_connect_all_reserved_ports(portage_fetch_t) corenet_tcp_connect_generic_port(portage_fetch_t) +# bug 540056 +corenet_tcp_connect_all_unreserved_ports(portage_fetch_t) dev_dontaudit_read_rand(portage_fetch_t)