From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 403CB1395E2 for ; Tue, 6 Dec 2016 15:21:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A78421C0B0; Tue, 6 Dec 2016 15:21:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 647DB21C0B0 for ; Tue, 6 Dec 2016 15:21:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5495B3413FD for ; Tue, 6 Dec 2016 15:21:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AEF334A6 for ; Tue, 6 Dec 2016 15:21:51 +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: <1481036554.6fec98ded6c9bda1c731ab48a87265ace6cc43b1.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: 6fec98ded6c9bda1c731ab48a87265ace6cc43b1 X-VCS-Branch: master Date: Tue, 6 Dec 2016 15:21:51 +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: 86c2c81b-04c6-4e73-a130-fceee04c57c1 X-Archives-Hash: 2735bde9979849e09c47d09072ad255d Message-ID: <20161206152151.Db9P3Z9Jv20Bszr6wB0IkqwD4XRWrEHPHJ_f0JiDoyk@z> commit: 6fec98ded6c9bda1c731ab48a87265ace6cc43b1 Author: Jason Zaman perfinion com> AuthorDate: Tue Dec 6 15:00:17 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Tue Dec 6 15:02:34 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=6fec98de portage: add signal and FEATURES=test perms policy/modules/contrib/portage.te | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/portage.te b/policy/modules/contrib/portage.te index 19bd8c8..52c6bf9 100644 --- a/policy/modules/contrib/portage.te +++ b/policy/modules/contrib/portage.te @@ -436,6 +436,8 @@ gen_tunable(portage_enable_test, false) allow portage_t self:capability2 block_suspend; + allow portage_t { portage_fetch_t portage_sandbox_t }:process signal_perms; + # Support self-update of Portage allow portage_t portage_tmp_t:dir relabel_dir_perms; allow portage_t portage_tmp_t:lnk_file relabel_lnk_file_perms; @@ -490,9 +492,12 @@ gen_tunable(portage_enable_test, false) tunable_policy(`portage_enable_test',` # lots of tests connect over loopback - corenet_tcp_bind_generic_node(portage_sandbox_t) corenet_tcp_bind_all_unreserved_ports(portage_sandbox_t) + corenet_tcp_bind_generic_node(portage_sandbox_t) corenet_tcp_connect_all_unreserved_ports(portage_sandbox_t) + corenet_udp_bind_all_unreserved_ports(portage_sandbox_t) + corenet_udp_bind_generic_node(portage_sandbox_t) + corenet_udp_sendrecv_all_ports(portage_sandbox_t) ') ##########################################