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 B748C139083 for ; Sat, 23 Dec 2017 15:58:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4201E0D1F; Sat, 23 Dec 2017 15:58:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 AD57DE0D1F for ; Sat, 23 Dec 2017 15:58:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 1A483340AED for ; Sat, 23 Dec 2017 15:58:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60C11AE91 for ; Sat, 23 Dec 2017 15:58:08 +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: <1514043707.2fc780e90665d3d003fa879a83d478c9f7da2196.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: 2fc780e90665d3d003fa879a83d478c9f7da2196 X-VCS-Branch: master Date: Sat, 23 Dec 2017 15:58:08 +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: 3f0fc918-71e4-4472-8593-ac18c92d05b9 X-Archives-Hash: 2dd2c5d75f6044aee56e45f8568d33d9 commit: 2fc780e90665d3d003fa879a83d478c9f7da2196 Author: Jason Zaman perfinion com> AuthorDate: Sat Dec 23 15:41:47 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Dec 23 15:41:47 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=2fc780e9 portage: allow compile domains to map portage_tmp_t policy/modules/contrib/portage.if | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/contrib/portage.if b/policy/modules/contrib/portage.if index 240838d2..23c15ba7 100644 --- a/policy/modules/contrib/portage.if +++ b/policy/modules/contrib/portage.if @@ -117,7 +117,7 @@ interface(`portage_compile_domain',` manage_sock_files_pattern($1, portage_tmp_t, portage_tmp_t) files_tmp_filetrans($1, portage_tmp_t, { dir file lnk_file sock_file fifo_file }) # SELinux-enabled programs running in the sandbox - allow $1 portage_tmp_t:file relabel_file_perms; + allow $1 portage_tmp_t:file { relabel_file_perms map }; allow $1 portage_tmp_t:dir relabel_dir_perms; manage_files_pattern($1, portage_tmpfs_t, portage_tmpfs_t)