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 41D89198005 for ; Sat, 23 Feb 2013 17:14:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1F89E05F5; Sat, 23 Feb 2013 17:14:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 06B4BE05F2 for ; Sat, 23 Feb 2013 17:14:02 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D480F33DFB5 for ; Sat, 23 Feb 2013 17:14:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 4A809E408F for ; Sat, 23 Feb 2013 17:14:00 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1361639585.687213ceddfd14ca72f9ec01dd5b26df86fb6b7e.SwifT@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: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 687213ceddfd14ca72f9ec01dd5b26df86fb6b7e X-VCS-Branch: master Date: Sat, 23 Feb 2013 17:14:00 +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: f04f7931-18a1-4a47-963f-a376204249c5 X-Archives-Hash: 939954a7e44c73159894403fb64381ec commit: 687213ceddfd14ca72f9ec01dd5b26df86fb6b7e Author: Sven Vermeulen siphos be> AuthorDate: Sat Feb 23 17:13:05 2013 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Sat Feb 23 17:13:05 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=687213ce Installing live ebuilds requires sandbox to write the srcrepo directories --- policy/modules/contrib/portage.te | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/policy/modules/contrib/portage.te b/policy/modules/contrib/portage.te index ffe46e3..d4c5e48 100644 --- a/policy/modules/contrib/portage.te +++ b/policy/modules/contrib/portage.te @@ -406,6 +406,12 @@ ifdef(`distro_gentoo',` rw_dirs_pattern(portage_sandbox_t, portage_log_t, portage_log_t) + # When using live ebuilds, manipulation is done in sandbox domain + filetrans_pattern(portage_sandbox_t, portage_ebuild_t, portage_srcrepo_t, dir, "cvs-src") + filetrans_pattern(portage_sandbox_t, portage_ebuild_t, portage_srcrepo_t, dir, "egit-src") + filetrans_pattern(portage_sandbox_t, portage_ebuild_t, portage_srcrepo_t, dir, "git-src") + filetrans_pattern(portage_sandbox_t, portage_ebuild_t, portage_srcrepo_t, dir, "svn-src") + ########################################## # # Portage eselect module domain