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 8550713877A for ; Fri, 8 Aug 2014 08:50:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26FEBE0961; Fri, 8 Aug 2014 08:50:49 +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 8159CE0960 for ; Fri, 8 Aug 2014 08:50:48 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C393340134 for ; Fri, 8 Aug 2014 08:50:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 5254E1881A for ; Fri, 8 Aug 2014 08:50:46 +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: <1407487203.105008a744011a7cb78546338fe90c55772dbab4.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:testing commit in: policy/modules/kernel/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/kernel/files.if X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 105008a744011a7cb78546338fe90c55772dbab4 X-VCS-Branch: testing Date: Fri, 8 Aug 2014 08:50:46 +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: 49325358-80e6-4ed5-ba05-d4b159af0d39 X-Archives-Hash: e2f2eed3f1329ac7c110abbee2f3b2fb Message-ID: <20140808085046.hx9HdeHe-V79s9I0RjzmAX8AXw-BoMSLomdgOKcrWSs@z> commit: 105008a744011a7cb78546338fe90c55772dbab4 Author: Sven Vermeulen siphos be> AuthorDate: Fri Aug 8 08:40:03 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Fri Aug 8 08:40:03 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=105008a7 Apply different naming The idea is that an interface that manages a whole set of types contains the _all_ inside the name. When it does, then the next block should contain the attribute name in its entirety, but plural. So for non_security_file_type, this becomes _all_non_security_file_types. --- policy/modules/kernel/files.if | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/policy/modules/kernel/files.if b/policy/modules/kernel/files.if index 105c7c2..efd7836 100644 --- a/policy/modules/kernel/files.if +++ b/policy/modules/kernel/files.if @@ -6760,7 +6760,7 @@ interface(`files_relabel_non_security_file_type',` ######################################## ## -## Manage non-security related resources. +## Manage non-security-sensitive resource types ## ## ## @@ -6769,7 +6769,7 @@ interface(`files_relabel_non_security_file_type',` ## ## # -interface(`files_manage_non_security_file_type',` +interface(`files_manage_all_non_security_file_types',` gen_require(` attribute non_security_file_type; ')