Skip to contentSkip to conversation

Remove some interfaces that are not used.

PATCH New Dominick Grift 1 participant 1 message Apr 28, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 Remove some interfaces that are not used.

---
:100644 100644 3b65a38... 778b063... M policy/modules/kernel/filesystem.if
:100644 100644 abcab97... 2fa1467... M policy/modules/services/cgroup.if

 policy/modules/kernel/filesystem.if |   19 -------------------
 policy/modules/services/cgroup.if   |   18 ------------------
 2 files changed, 0 insertions(+), 37 deletions(-)
policy/modules/kernel/filesystem.if +0 -19
index 3b65a38..778b063 100644
@@ -709,25 +709,6 @@ interface(`fs_setattr_cgroupfs_files', `
 
 ########################################
 ## <summary>
-##	Read files on cgroup file systems.
-## </summary>
-## <param name="domain">
-##	<summary>
-##	Domain allowed access.
-##	</summary>
-## </param>
-#
-interface(`fs_read_cgroupfs_files', `
-	gen_require(`
-		type cgroupfs_t;
-
-	')
-
-	read_files_pattern($1, cgroupfs_t, cgroupfs_t)
-')
-
-########################################
-## <summary>
 ##	Write files on cgroup file systems.
 ## </summary>
 ## <param name="domain">
policy/modules/services/cgroup.if +0 -18
index abcab97..2fa1467 100644
@@ -53,24 +53,6 @@ interface(`cgroup_list_cgroup_dirs', `
 
 ########################################
 ## <summary>
-##	Manage cgroup directories.
-## </summary>
-## <param name="domain">
-##	<summary>
-##	Domain allowed access.
-##	</summary>
-## </param>
-#
-interface(`cgroup_manage_cgroup_dirs', `
-	gen_require(`
-		type cgroup_t;
-	')
-
-	allow $1 cgroup_t:dir manage_dir_perms;
-')
-
-########################################
-## <summary>
 ##	Read and write cgroup directories.
 ## </summary>
 ## <param name="domain">
Signature · 9 lines
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/20100428/4c5042ef/attachment-0001.bin