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 E805A138A1C for ; Sat, 1 Nov 2014 18:00:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE0D2E0EC4; Sat, 1 Nov 2014 18:00:44 +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 232B8E0FF2 for ; Sat, 1 Nov 2014 18:00:44 +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 1C3583403B9 for ; Sat, 1 Nov 2014 18:00:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD04F9396 for ; Sat, 1 Nov 2014 18:00:41 +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: <1414864695.717d10b31cce2a5c92950c480444205a3c9ab839.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.fc X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 717d10b31cce2a5c92950c480444205a3c9ab839 X-VCS-Branch: master Date: Sat, 1 Nov 2014 18:00:41 +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: 36814f63-9eba-42b8-95bd-22f9f20069fe X-Archives-Hash: 1790c7c796bdf60789cf94d5870a63a1 commit: 717d10b31cce2a5c92950c480444205a3c9ab839 Author: Sven Vermeulen siphos be> AuthorDate: Sat Nov 1 17:58:15 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sat Nov 1 17:58:15 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=717d10b3 Emerge is also handled by python-exec --- policy/modules/contrib/portage.fc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/policy/modules/contrib/portage.fc b/policy/modules/contrib/portage.fc index cc65c01..2eaa62c 100644 --- a/policy/modules/contrib/portage.fc +++ b/policy/modules/contrib/portage.fc @@ -18,6 +18,7 @@ /usr/lib/portage/bin/regenworld -- gen_context(system_u:object_r:portage_exec_t,s0) /usr/lib/portage/bin/sandbox -- gen_context(system_u:object_r:portage_exec_t,s0) + /usr/portage(/.*)? gen_context(system_u:object_r:portage_ebuild_t,s0) /usr/portage/distfiles/cvs-src(/.*)? gen_context(system_u:object_r:portage_srcrepo_t,s0) /usr/portage/distfiles/egit-src(/.*)? gen_context(system_u:object_r:portage_srcrepo_t,s0) @@ -37,7 +38,8 @@ /var/tmp/portage-pkg(/.*)? gen_context(system_u:object_r:portage_tmp_t,s0) ifdef(`distro_gentoo',` -/usr/lib/python-exec/python[0-9]?\.[0-9]?/glsa-check -- gen_context(system_u:object_r:portage_exec_t,s0) -/usr/lib/python-exec/python[0-9].\.[0-9]?/layman -- gen_context(system_u:object_r:portage_fetch_exec_t,s0) +/usr/lib/python-exec/python[0-9]\.[0-9]*/glsa-check -- gen_context(system_u:object_r:portage_exec_t,s0) +/usr/lib/python-exec/python[0-9]\.[0-9]*/layman -- gen_context(system_u:object_r:portage_fetch_exec_t,s0) +/usr/lib/python-exec/python[0-9]\.[0-9]*/emerge -- gen_context(system_u:object_r:portage_exec_t,s0) /var/log/sandbox(/.*)? gen_context(system_u:object_r:portage_log_t,s0) ')