Skip to contentSkip to conversation

hadoop 2/10 -- hadoop

PATCH New Paul Nuzzi 1 participant 1 message Sep 20, 2010

lore
Share & tools
lore

Paul Nuzzi

author
#0 lore raw

PATCH 1/1 hadoop 2/10 -- hadoop

---
 policy/modules/apps/hadoop.fc |   10 +
 policy/modules/apps/hadoop.if |  236 ++++++++++++++++++++++++++++++++++++++++++
 policy/modules/apps/hadoop.te |   93 ++++++++++++++++
 3 files changed, 339 insertions(+)
policy/modules/apps/hadoop.fc new file +10 -0
new file mode 100644
index 0000000..aa2012e
@@ -0,0 +1,10 @@
+/usr/lib/hadoop(.*)?/bin/hadoop -- 	gen_context(system_u:object_r:hadoop_exec_t,s0)
+
+/etc/hadoop(/.*)?			gen_context(system_u:object_r:hadoop_etc_t,s0)
+/etc/hadoop-0.20(/.*)?			gen_context(system_u:object_r:hadoop_etc_t,s0)
+
+/var/lib/hadoop(.*)?			gen_context(system_u:object_r:hadoop_data_t,s0)
+
+/var/log/hadoop(.*)?			gen_context(system_u:object_r:hadoop_log_t,s0)
+
+/var/run/hadoop(.*)?			gen_context(system_u:object_r:hadoop_run_t,s0)
policy/modules/apps/hadoop.if new file +236 -0

236 lines not on this page · raw message

policy/modules/apps/hadoop.te new file +93 -0

93 lines not on this page · raw message