All of lore.kernel.org
 help / color / mirror / Atom feed
From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [cgroup 1/1] Libcgroup moved the cgroup directory to	/sys/fs/cgroup.
Date: Fri, 03 Sep 2010 11:15:47 -0400	[thread overview]
Message-ID: <4C811123.5030504@tresys.com> (raw)
In-Reply-To: <20100903142543.GA26439@localhost.localdomain>

On 09/03/10 10:25, Dominick Grift wrote:
> Signed-off-by: Dominick Grift<domg472@gmail.com>

Merged.

> ---
> :100644 100644 7d0ef43... 59bae6a... M	policy/modules/kernel/filesystem.fc
> :100644 100644 e3e17ba... 437a42a... M	policy/modules/kernel/filesystem.if
>   policy/modules/kernel/filesystem.fc |    2 ++
>   policy/modules/kernel/filesystem.if |    8 ++++++++
>   2 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/policy/modules/kernel/filesystem.fc b/policy/modules/kernel/filesystem.fc
> index 7d0ef43..59bae6a 100644
> --- a/policy/modules/kernel/filesystem.fc
> +++ b/policy/modules/kernel/filesystem.fc
> @@ -2,3 +2,5 @@
>   /dev/shm/.*		<<none>>
>
>   /cgroup		-d	gen_context(system_u:object_r:cgroup_t,s0)
> +
> +/sys/fs/cgroup(/.*)?	<<none>>
> diff --git a/policy/modules/kernel/filesystem.if b/policy/modules/kernel/filesystem.if
> index e3e17ba..437a42a 100644
> --- a/policy/modules/kernel/filesystem.if
> +++ b/policy/modules/kernel/filesystem.if
> @@ -646,6 +646,7 @@ interface(`fs_search_cgroup_dirs',`
>   	')
>
>   	search_dirs_pattern($1, cgroup_t, cgroup_t)
> +	dev_search_sysfs($1)
>   ')
>
>   ########################################
> @@ -664,6 +665,7 @@ interface(`fs_list_cgroup_dirs', `
>   	')
>
>   	list_dirs_pattern($1, cgroup_t, cgroup_t)
> +	dev_search_sysfs($1)
>   ')
>
>   ########################################
> @@ -682,6 +684,7 @@ interface(`fs_delete_cgroup_dirs', `
>   	')
>
>   	delete_dirs_pattern($1, cgroup_t, cgroup_t)
> +	dev_search_sysfs($1)
>   ')
>
>   ########################################
> @@ -701,6 +704,7 @@ interface(`fs_manage_cgroup_dirs',`
>   	')
>
>   	manage_dirs_pattern($1, cgroup_t, cgroup_t)
> +	dev_search_sysfs($1)
>   ')
>
>   ########################################
> @@ -720,6 +724,7 @@ interface(`fs_read_cgroup_files',`
>   	')
>
>   	read_files_pattern($1, cgroup_t, cgroup_t)
> +	dev_search_sysfs($1)
>   ')
>
>   ########################################
> @@ -738,6 +743,7 @@ interface(`fs_write_cgroup_files', `
>   	')
>
>   	write_files_pattern($1, cgroup_t, cgroup_t)
> +	dev_search_sysfs($1)
>   ')
>
>   ########################################
> @@ -757,6 +763,7 @@ interface(`fs_rw_cgroup_files',`
>   	')
>
>   	rw_files_pattern($1, cgroup_t, cgroup_t)
> +	dev_search_sysfs($1)
>   ')
>
>   ########################################
> @@ -796,6 +803,7 @@ interface(`fs_manage_cgroup_files',`
>   	')
>
>   	manage_files_pattern($1, cgroup_t, cgroup_t)
> +	dev_search_sysfs($1)
>   ')
>
>   ########################################
>
>
>
> _______________________________________________
> refpolicy mailing list
> refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy


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

      reply	other threads:[~2010-09-03 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-03 14:25 [refpolicy] [cgroup 1/1] Libcgroup moved the cgroup directory to /sys/fs/cgroup Dominick Grift
2010-09-03 15:15 ` 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=4C811123.5030504@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.