Skip to contentSkip to conversation

add libcg policy.

PATCH New Dominick Grift 1 participant 1 message Jun 7, 2010

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/4 add libcg policy.

Libcgroup automates cgroup management.

---
:000000 100644 0000000... abde2f2... A policy/modules/services/cgroup.fc
:000000 100644 0000000... 4b3fb8d... A policy/modules/services/cgroup.if
:000000 100644 0000000... 32baa99... A policy/modules/services/cgroup.te

 policy/modules/services/cgroup.fc |   10 +++
 policy/modules/services/cgroup.if |  149 +++++++++++++++++++++++++++++++++++++
 policy/modules/services/cgroup.te |   86 +++++++++++++++++++++
 3 files changed, 245 insertions(+), 0 deletions(-)
policy/modules/services/cgroup.fc new file +10 -0
new file mode 100644
index 0000000..abde2f2
@@ -0,0 +1,10 @@
+/etc/cgconfig.conf			--	gen_context(system_u:object_r:cgconfig_etc_t,s0)
+/etc/cgrules.conf			--	gen_context(system_u:object_r:cgrules_etc_t,s0)
+
+/etc/rc\.d/init\.d/cgconfig	--	gen_context(system_u:object_r:cgconfig_initrc_exec_t,s0)
+/etc/rc\.d/init\.d/cgred	--	gen_context(system_u:object_r:cgred_initrc_exec_t,s0)
+
+/sbin/cgconfigparser		--	gen_context(system_u:object_r:cgconfigparser_exec_t,s0)
+/sbin/cgrulesengd			--	gen_context(system_u:object_r:cgred_exec_t,s0)
+
+/var/run/cgred.*				gen_context(system_u:object_r:cgred_var_run_t,s0)
policy/modules/services/cgroup.if new file +149 -0

149 lines not on this page · raw message

policy/modules/services/cgroup.te new file +86 -0

86 lines not on this page · raw message

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/20100607/582f4d7e/attachment.bin