Libcgroup moved the cgroup directory to /sys/fs/cgroup.

Signed-off-by: Dominick Grift <domg472@gmail.com>
This commit is contained in:
Dominick Grift 2010-09-03 16:25:47 +02:00 committed by Chris PeBenito
parent b7ceb34995
commit 5675107ff9
2 changed files with 10 additions and 0 deletions

View File

@ -2,3 +2,5 @@
/dev/shm/.* <<none>> /dev/shm/.* <<none>>
/cgroup -d gen_context(system_u:object_r:cgroup_t,s0) /cgroup -d gen_context(system_u:object_r:cgroup_t,s0)
/sys/fs/cgroup(/.*)? <<none>>

View File

@ -646,6 +646,7 @@ interface(`fs_search_cgroup_dirs',`
') ')
search_dirs_pattern($1, cgroup_t, cgroup_t) 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) 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) 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) 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) 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) 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) 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) manage_files_pattern($1, cgroup_t, cgroup_t)
dev_search_sysfs($1)
') ')
######################################## ########################################