All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [ cgroup patch 1/1] fix cgroup_admin
@ 2010-06-29 12:24 Dominick Grift
  2010-07-01 13:23 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Dominick Grift @ 2010-06-29 12:24 UTC (permalink / raw)
  To: refpolicy

When cgroup policy was merged, some changes were made. One of these changes was the renaming of the type for cgroup rules engine daemon configuration file. The cgroup_admin interface was not modified to reflect this change.

Signed-off-by: Dominick Grift <domg472@gmail.com>
---
:100644 100644 a903d93... 2d1eaf3... M	policy/modules/services/cgroup.if
 policy/modules/services/cgroup.if |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/policy/modules/services/cgroup.if b/policy/modules/services/cgroup.if
index a903d93..2d1eaf3 100644
--- a/policy/modules/services/cgroup.if
+++ b/policy/modules/services/cgroup.if
@@ -121,7 +121,7 @@ interface(`cgroup_admin',`
 	gen_require(`
 		type cgred_t, cgconfig_t, cgred_var_run_t;
 		type cgconfig_etc_t, cgconfig_initrc_exec_t, cgred_initrc_exec_t;
-		type cgred_etc_t;
+		type cgrules_etc_t;
 	')
 
 	allow $1 cgconfig_t:process { ptrace signal_perms getattr };
@@ -131,7 +131,7 @@ interface(`cgroup_admin',`
 	read_files_pattern($1, cgred_t, cgred_t)
 
 	admin_pattern($1, cgconfig_etc_t)
-	admin_pattern($1, cgred_etc_t)
+	admin_pattern($1, cgrules_etc_t)
 	files_search_etc($1)
 
 	admin_pattern($1, cgred_var_run_t)
-- 
1.7.0.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20100629/8bd16d66/attachment.bin 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [refpolicy] [ cgroup patch 1/1] fix cgroup_admin
  2010-06-29 12:24 [refpolicy] [ cgroup patch 1/1] fix cgroup_admin Dominick Grift
@ 2010-07-01 13:23 ` Christopher J. PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2010-07-01 13:23 UTC (permalink / raw)
  To: refpolicy

On 06/29/10 08:24, Dominick Grift wrote:
> When cgroup policy was merged, some changes were made. One of these changes was the renaming of the type for cgroup rules engine daemon configuration file. The cgroup_admin interface was not modified to reflect this change.

Merged.

> Signed-off-by: Dominick Grift<domg472@gmail.com>
> ---
> :100644 100644 a903d93... 2d1eaf3... M	policy/modules/services/cgroup.if
>   policy/modules/services/cgroup.if |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/policy/modules/services/cgroup.if b/policy/modules/services/cgroup.if
> index a903d93..2d1eaf3 100644
> --- a/policy/modules/services/cgroup.if
> +++ b/policy/modules/services/cgroup.if
> @@ -121,7 +121,7 @@ interface(`cgroup_admin',`
>   	gen_require(`
>   		type cgred_t, cgconfig_t, cgred_var_run_t;
>   		type cgconfig_etc_t, cgconfig_initrc_exec_t, cgred_initrc_exec_t;
> -		type cgred_etc_t;
> +		type cgrules_etc_t;
>   	')
>
>   	allow $1 cgconfig_t:process { ptrace signal_perms getattr };
> @@ -131,7 +131,7 @@ interface(`cgroup_admin',`
>   	read_files_pattern($1, cgred_t, cgred_t)
>
>   	admin_pattern($1, cgconfig_etc_t)
> -	admin_pattern($1, cgred_etc_t)
> +	admin_pattern($1, cgrules_etc_t)
>   	files_search_etc($1)
>
>   	admin_pattern($1, cgred_var_run_t)

-- 
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-01 13:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29 12:24 [refpolicy] [ cgroup patch 1/1] fix cgroup_admin Dominick Grift
2010-07-01 13:23 ` Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.