commit: 105008a744011a7cb78546338fe90c55772dbab4
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Fri Aug 8 08:40:03 2014 +0000
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> 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',`
########################################
## <summary>
-## Manage non-security related resources.
+## Manage non-security-sensitive resource types
## </summary>
## <param name="domain">
## <summary>
@@ -6769,7 +6769,7 @@ interface(`files_relabel_non_security_file_type',`
## </param>
## <rolecap/>
#
-interface(`files_manage_non_security_file_type',`
+interface(`files_manage_all_non_security_file_types',`
gen_require(`
attribute non_security_file_type;
')