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 347091384B4 for ; Sat, 19 Dec 2015 03:15:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4621E086E; Sat, 19 Dec 2015 03:15:25 +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 5CAD4E086E for ; Sat, 19 Dec 2015 03:15:25 +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 1310034016B for ; Sat, 19 Dec 2015 03:15:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 95C31B40 for ; Sat, 19 Dec 2015 03:15:22 +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: <1450494668.07e4b0512b2184ad03b2800e2d3478427768ef06.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: 07e4b0512b2184ad03b2800e2d3478427768ef06 X-VCS-Branch: master Date: Sat, 19 Dec 2015 03:15:22 +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: c97fc159-c6df-4815-809a-b2f6e44f8e73 X-Archives-Hash: 571192ae0e68faa96f7d5de7e9d114ad commit: 07e4b0512b2184ad03b2800e2d3478427768ef06 Author: Jason Zaman perfinion com> AuthorDate: Mon Nov 23 15:23:32 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Dec 19 03:11:08 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=07e4b051 portage: allow portage to rw all MLS levels Without this, portage cannot merge packages that are trusted. eg. sys-process/audit fails to merge /etc/audit/ because it is s15. policy/modules/contrib/portage.te | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/policy/modules/contrib/portage.te b/policy/modules/contrib/portage.te index 2f62eb6..19bd8c8 100644 --- a/policy/modules/contrib/portage.te +++ b/policy/modules/contrib/portage.te @@ -449,6 +449,11 @@ gen_tunable(portage_enable_test, false) corecmd_relabel_bin_files(portage_t) corecmd_relabel_bin_lnk_files(portage_t) + mls_file_read_all_levels(portage_t) + mls_file_write_all_levels(portage_t) + mls_file_upgrade(portage_t) + mls_file_downgrade(portage_t) + auth_use_nsswitch(portage_t) # Support cgroup FEATURES