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 976551396D0 for ; Fri, 15 Sep 2017 03:42:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08EF4E0C7C; Fri, 15 Sep 2017 03:42:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8F8DE0C7C for ; Fri, 15 Sep 2017 03:42:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC59E33BE2E for ; Fri, 15 Sep 2017 03:42:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F06229086 for ; Fri, 15 Sep 2017 03:42:42 +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: <1505417684.553716fd62a9e2fa69786b099562a965eefd49c8.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.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 553716fd62a9e2fa69786b099562a965eefd49c8 X-VCS-Branch: master Date: Fri, 15 Sep 2017 03:42:42 +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: b52711c4-8c8e-4eee-86d7-3830fa6a7ee3 X-Archives-Hash: 2397dcbbe978870c34ec086b9bc78cd3 commit: 553716fd62a9e2fa69786b099562a965eefd49c8 Author: Luis Ressel aixah de> AuthorDate: Mon Sep 11 06:40:21 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Sep 14 19:34:44 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=553716fd portage: Grant the map permissions neccessary for git and install policy/modules/contrib/portage.if | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/contrib/portage.if b/policy/modules/contrib/portage.if index 9f7be361..6388110e 100644 --- a/policy/modules/contrib/portage.if +++ b/policy/modules/contrib/portage.if @@ -105,6 +105,7 @@ interface(`portage_compile_domain',` manage_dirs_pattern($1, portage_srcrepo_t, portage_srcrepo_t) manage_files_pattern($1, portage_srcrepo_t, portage_srcrepo_t) manage_lnk_files_pattern($1, portage_srcrepo_t, portage_srcrepo_t) + allow $1 portage_srcrepo_t:file map; # run scripts out of the build directory can_exec(portage_sandbox_t, portage_tmp_t) @@ -193,6 +194,9 @@ interface(`portage_compile_domain',` # SELinux-enabled programs running in the sandbox seutil_libselinux_linked($1) + # required by install + seutil_read_file_contexts($1) + tunable_policy(`portage_use_nfs',` fs_getattr_nfs($1) fs_manage_nfs_dirs($1)