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 2AD4E13888F for ; Thu, 22 Oct 2015 13:44:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63775E085C; Thu, 22 Oct 2015 13:44:28 +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 D05A4E085C for ; Thu, 22 Oct 2015 13:44:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A7DD6340967 for ; Thu, 22 Oct 2015 13:44:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D822715C3 for ; Thu, 22 Oct 2015 13:44:23 +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: <1445521259.56782f09e37e1fbd0868f38084563d9f1aa0f8c7.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next 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: 56782f09e37e1fbd0868f38084563d9f1aa0f8c7 X-VCS-Branch: next Date: Thu, 22 Oct 2015 13:44:23 +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: b4f30f63-65c1-4f07-9b44-13a97d5752f7 X-Archives-Hash: 2065ba6b4f8679420bd23f730265ac96 commit: 56782f09e37e1fbd0868f38084563d9f1aa0f8c7 Author: Luis Ressel aixah de> AuthorDate: Mon Oct 19 12:04:06 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Oct 22 13:40:59 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=56782f09 contrib/portage: Fix portage_ro_role interface According to its documentation, portage_ro_role expects a role for $1 and a type for $2, just like other _role interfaces. However, the policy directives inside the interface don't match its documentation and expect $1 to be a type. This interface isn't used anywhere in the policy, so no other fixes are neccessary. policy/modules/contrib/portage.if | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/policy/modules/contrib/portage.if b/policy/modules/contrib/portage.if index e9de28e..14c4fb6 100644 --- a/policy/modules/contrib/portage.if +++ b/policy/modules/contrib/portage.if @@ -406,13 +406,13 @@ interface(`portage_eselect_module',` ## # interface(`portage_ro_role',` - portage_read_cache($1) - portage_read_config($1) - portage_read_db($1) - portage_read_ebuild($1) - portage_read_log($1) - portage_read_srcrepo($1) - portage_dontaudit_write_cache($1) + portage_read_cache($2) + portage_read_config($2) + portage_read_db($2) + portage_read_ebuild($2) + portage_read_log($2) + portage_read_srcrepo($2) + portage_dontaudit_write_cache($2) ') ######################################## 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 27CC713888F for ; Thu, 22 Oct 2015 13:44:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61364E085B; Thu, 22 Oct 2015 13:44:28 +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 C374EE085B for ; Thu, 22 Oct 2015 13:44:27 +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 72278340948 for ; Thu, 22 Oct 2015 13:44:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C44AC1264 for ; Thu, 22 Oct 2015 13:44:23 +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: <1445521259.56782f09e37e1fbd0868f38084563d9f1aa0f8c7.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: 56782f09e37e1fbd0868f38084563d9f1aa0f8c7 X-VCS-Branch: master Date: Thu, 22 Oct 2015 13:44:23 +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: 5ad5bdc8-e00e-4916-91b0-4ded58903d76 X-Archives-Hash: 8302bfc8434b6199bdd2907aed3e04c9 Message-ID: <20151022134423.ax704frxNSLFXXSJ-o-Ee_44uM7-mNGECQrcOTEKV5o@z> commit: 56782f09e37e1fbd0868f38084563d9f1aa0f8c7 Author: Luis Ressel aixah de> AuthorDate: Mon Oct 19 12:04:06 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Oct 22 13:40:59 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=56782f09 contrib/portage: Fix portage_ro_role interface According to its documentation, portage_ro_role expects a role for $1 and a type for $2, just like other _role interfaces. However, the policy directives inside the interface don't match its documentation and expect $1 to be a type. This interface isn't used anywhere in the policy, so no other fixes are neccessary. policy/modules/contrib/portage.if | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/policy/modules/contrib/portage.if b/policy/modules/contrib/portage.if index e9de28e..14c4fb6 100644 --- a/policy/modules/contrib/portage.if +++ b/policy/modules/contrib/portage.if @@ -406,13 +406,13 @@ interface(`portage_eselect_module',` ## # interface(`portage_ro_role',` - portage_read_cache($1) - portage_read_config($1) - portage_read_db($1) - portage_read_ebuild($1) - portage_read_log($1) - portage_read_srcrepo($1) - portage_dontaudit_write_cache($1) + portage_read_cache($2) + portage_read_config($2) + portage_read_db($2) + portage_read_ebuild($2) + portage_read_log($2) + portage_read_srcrepo($2) + portage_dontaudit_write_cache($2) ') ########################################