From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [ cgroup patch 1/1] fix cgroup_admin
Date: Thu, 01 Jul 2010 09:23:09 -0400 [thread overview]
Message-ID: <4C2C96BD.7090307@tresys.com> (raw)
In-Reply-To: <20100629122417.GA23692@localhost.localdomain>
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
prev parent reply other threads:[~2010-07-01 13:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-29 12:24 [refpolicy] [ cgroup patch 1/1] fix cgroup_admin Dominick Grift
2010-07-01 13:23 ` Christopher J. PeBenito [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C2C96BD.7090307@tresys.com \
--to=cpebenito@tresys.com \
--cc=refpolicy@oss.tresys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.