All of lore.kernel.org
 help / color / mirror / Atom feed
From: domg472@gmail.com (Dominick Grift)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [ cgroups revisited 4/4] Remove some interfaces that are not used.
Date: Wed, 28 Apr 2010 12:03:20 +0200	[thread overview]
Message-ID: <20100428100318.GA6560@localhost.localdomain> (raw)

Signed-off-by: Dominick Grift <domg472@gmail.com>
---
: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(-)

diff --git a/policy/modules/kernel/filesystem.if b/policy/modules/kernel/filesystem.if
index 3b65a38..778b063 100644
--- a/policy/modules/kernel/filesystem.if
+++ b/policy/modules/kernel/filesystem.if
@@ -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">
diff --git a/policy/modules/services/cgroup.if b/policy/modules/services/cgroup.if
index abcab97..2fa1467 100644
--- a/policy/modules/services/cgroup.if
+++ b/policy/modules/services/cgroup.if
@@ -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">
-- 
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 

                 reply	other threads:[~2010-04-28 10:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20100428100318.GA6560@localhost.localdomain \
    --to=domg472@gmail.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.